-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
Win10, Java 10
-
CraftBukkit version git-Spigot-1d0aef7-1fccb89 (MC: 1.13-pre7) (Implementing API version 1.13-pre7-R0.1-SNAPSHOT)
Using WorldCreator#generator(new EmptyGenerator()) where EmptyGenerator extends ChunkGenerator causes a java.lang.ClassCastException: https://pastebin.com/63Zpxdsf
Content of EmptyGenerator: https://pastebin.com/FkvjDmSD
Maps#loadWorld method
public static World loadWorld(WorldCreator creator) { creator.generator(new EmptyGenerator()); World world = Bukkit.createWorld(creator); world.setAutoSave(false); return world; }