This commit is contained in:
Leo-MathGuy 2024-04-25 19:44:44 +05:00
parent 1622ecd010
commit 617953dd89

View File

@ -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));
}
}
}