Added json comments
This commit is contained in:
@@ -341,6 +341,7 @@ public class ContentParser{
|
||||
if(contentTypes.isEmpty()){
|
||||
init();
|
||||
}
|
||||
json = json.replaceAll("#.*?\n","\n");
|
||||
|
||||
JsonValue value = parser.fromJson(null, json);
|
||||
if(!parsers.containsKey(type)){
|
||||
|
||||
@@ -164,7 +164,8 @@ public class MenuFragment extends Fragment{
|
||||
),
|
||||
new Buttoni("$editor", Icon.editorSmall, ui.maps::show), steam ? new Buttoni("$workshop", Icon.saveSmall, platform::openWorkshop) : null,
|
||||
new Buttoni(Core.bundle.get("mods") + "\n" + Core.bundle.get("mods.alpha"), Icon.wikiSmall, ui.mods::show),
|
||||
new Buttoni("$schematics", Icon.pasteSmall, ui.schematics::show),
|
||||
//not enough space for this button
|
||||
//new Buttoni("$schematics", Icon.pasteSmall, ui.schematics::show),
|
||||
new Buttoni("$settings", Icon.toolsSmall, ui.settings::show),
|
||||
new Buttoni("$about.button", Icon.infoSmall, ui.about::show),
|
||||
new Buttoni("$quit", Icon.exitSmall, Core.app::exit)
|
||||
|
||||
Reference in New Issue
Block a user