mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-04 15:27:19 +07:00
Permissive extensions
This commit is contained in:
@ -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));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user