Allow mods to add maps

This commit is contained in:
Anuken
2019-09-30 17:24:51 -04:00
parent 94733515e4
commit 3b5dd7567a
3 changed files with 4 additions and 4 deletions

View File

@@ -154,7 +154,7 @@ public class Mods implements Loadable{
//ignore special folders like bundles or sprites
if(file.isDirectory() && !specialFolders.contains(file.name())){
//TODO calling child/parent on these files will give you gibberish; create wrapper class.
file.walk(f -> filet.addFile(f));
file.walk(f -> tree.addFile(f));
}
}