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

@@ -70,7 +70,7 @@ public class Maps{
* Does not add this map to the map list.
*/
public Map loadInternalMap(String name){
FileHandle file = Core.files.internal("maps/" + name + "." + mapExtension);
FileHandle file = tree.get("maps/" + name + "." + mapExtension);
try{
return MapIO.createMap(file, false);