mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-22 02:07:20 +07:00
format
This commit is contained in:
parent
1622ecd010
commit
617953dd89
@ -738,11 +738,7 @@ public class Mods implements Loadable{
|
||||
Fi folder = contentRoot.child(lower + (lower.endsWith("s") ? "" : "s"));
|
||||
if(folder.exists()){
|
||||
for(Fi file : folder.findAll(f -> f.extension().equals("json") || f.extension().equals("hjson"))){
|
||||
if(contentOrder == null){
|
||||
runs.add(new LoadRun(type, file, mod));
|
||||
}else{
|
||||
currentRun.put(file.nameWithoutExtension(), new LoadRun(type, file, mod));
|
||||
}
|
||||
currentRun.put(file.nameWithoutExtension(), new LoadRun(type, file, mod));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user