mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-04-27 07:50:54 -07:00
use // for comments
This commit is contained in:
parent
505f802e20
commit
52355de1c0
1 changed files with 2 additions and 2 deletions
|
|
@ -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)){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue