PreloadWorlds in DMWorldManager bug?
SpoonsJTD opened this issue · 1 comments
In the preloadWorlds method of DMWorldManager (starts at line 123), shouldn't the null check be equal to instead of NEQ? As is, if Bukkit.getWorld returns nothing, then the world ISN'T preloaded.
Trying to help keepcalm with the BukkitForge project and want to confirm this isn't an issue with BF, thanks!
public static void preloadWorlds() {
if (preloadWorlds != null) {
for(String w : preloadWorlds) {
WorldCreator newWorld = new WorldCreator(w);
newWorld.generator(plugin.getDMWorldGenerator());
if (Bukkit.getWorld(w) != null)
newWorld.createWorld();
}
}
}
Edit: Love this plugin, by the way. I've taken on trying to get world loading in BF primarily so I can get DM and MultiVerse working.
This issue should be fixed now, in Dungeon Maze 0.1.7. This version might not be available yet on Bukkit because the Bukkit administrators need to verify the file, you can always download the newest version from this website on the 'Projects' page; http://timvisee.com/
Tim Visée