use // for comments

This commit is contained in:
Anuken
2019-11-08 19:08:07 -05:00
parent 505f802e20
commit 52355de1c0

View File

@ -341,8 +341,8 @@ public class ContentParser{
if(contentTypes.isEmpty()){
init();
}
//add comments starting with #
json = json.replaceAll("##.*?\n","\n");
//add comments starting with ##
json = json.replaceAll("//.*?\n","\n");
JsonValue value = parser.fromJson(null, json);
if(!parsers.containsKey(type)){