Permissive extensions
This commit is contained in:
@@ -354,7 +354,7 @@ public class Mods implements Loadable{
|
|||||||
FileHandle folder = contentRoot.child(type.name().toLowerCase() + "s");
|
FileHandle folder = contentRoot.child(type.name().toLowerCase() + "s");
|
||||||
if(folder.exists()){
|
if(folder.exists()){
|
||||||
for(FileHandle file : folder.list()){
|
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));
|
runs.add(new LoadRun(type, file, mod));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=5019282ec7f078174fd4d6794baee85ebfe311ba
|
archash=38f358dd20dd3ec6e97eb11bac3e6e45785ac3da
|
||||||
|
|||||||
Reference in New Issue
Block a user