Crash fix

This commit is contained in:
Anuken
2019-08-31 09:50:05 -04:00
parent 7089fae0d5
commit 3414026828
@@ -60,8 +60,10 @@ public class Maps{
maps.sort(); maps.sort();
}); });
if(Core.assets != null){
((CustomLoader)Core.assets.getLoader(Content.class)).loaded = this::createAllPreviews; ((CustomLoader)Core.assets.getLoader(Content.class)).loaded = this::createAllPreviews;
} }
}
/** /**
* Loads a map from the map folder and returns it. Should only be used for zone maps. * Loads a map from the map folder and returns it. Should only be used for zone maps.