Fixed attempts to load folders as maps in mods

This commit is contained in:
Anuken
2026-02-13 20:20:31 -05:00
parent 50c40be5e2
commit f5b2b81c21
2 changed files with 4 additions and 2 deletions

View File

@@ -80,7 +80,9 @@ public class Mods implements Loadable{
Fi file = mod.root.child(directory);
if(file.exists()){
for(Fi child : file.list()){
cons.get(mod, child);
if(!child.isDirectory()){
cons.get(mod, child);
}
}
}
});