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
+3 -1
View File
@@ -80,7 +80,9 @@ public class Mods implements Loadable{
Fi file = mod.root.child(directory); Fi file = mod.root.child(directory);
if(file.exists()){ if(file.exists()){
for(Fi child : file.list()){ for(Fi child : file.list()){
cons.get(mod, child); if(!child.isDirectory()){
cons.get(mod, child);
}
} }
} }
}); });
+1 -1
View File
@@ -26,4 +26,4 @@ org.gradle.caching=true
org.gradle.internal.http.socketTimeout=100000 org.gradle.internal.http.socketTimeout=100000
org.gradle.internal.http.connectionTimeout=100000 org.gradle.internal.http.connectionTimeout=100000
android.enableR8.fullMode=false android.enableR8.fullMode=false
archash=9245025a70 archash=5a2b279912