From dd175747ab98d93fa4bfffadbd8dbd81993bbd93 Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 13 Nov 2019 19:40:03 -0500 Subject: [PATCH] Permissive extensions --- core/src/io/anuke/mindustry/mod/Mods.java | 2 +- gradle.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/io/anuke/mindustry/mod/Mods.java b/core/src/io/anuke/mindustry/mod/Mods.java index 2d3c51a6c7..59347e01ab 100644 --- a/core/src/io/anuke/mindustry/mod/Mods.java +++ b/core/src/io/anuke/mindustry/mod/Mods.java @@ -354,7 +354,7 @@ public class Mods implements Loadable{ FileHandle folder = contentRoot.child(type.name().toLowerCase() + "s"); if(folder.exists()){ for(FileHandle file : folder.list()){ - if(file.extension().equals("json")){ + if(file.extension().equals("json") || file.extension().equals("hjson") || file.extension().equals("js")){ runs.add(new LoadRun(type, file, mod)); } } diff --git a/gradle.properties b/gradle.properties index c89b0777f0..3b325baee5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ org.gradle.daemon=true org.gradle.jvmargs=-Xms256m -Xmx1024m -archash=5019282ec7f078174fd4d6794baee85ebfe311ba +archash=38f358dd20dd3ec6e97eb11bac3e6e45785ac3da