format
This commit is contained in:
@@ -738,11 +738,7 @@ public class Mods implements Loadable{
|
|||||||
Fi folder = contentRoot.child(lower + (lower.endsWith("s") ? "" : "s"));
|
Fi folder = contentRoot.child(lower + (lower.endsWith("s") ? "" : "s"));
|
||||||
if(folder.exists()){
|
if(folder.exists()){
|
||||||
for(Fi file : folder.findAll(f -> f.extension().equals("json") || f.extension().equals("hjson"))){
|
for(Fi file : folder.findAll(f -> f.extension().equals("json") || f.extension().equals("hjson"))){
|
||||||
if(contentOrder == null){
|
currentRun.put(file.nameWithoutExtension(), new LoadRun(type, file, mod));
|
||||||
runs.add(new LoadRun(type, file, mod));
|
|
||||||
}else{
|
|
||||||
currentRun.put(file.nameWithoutExtension(), new LoadRun(type, file, mod));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user