I'm trying to generate a new world each time the server starts, however it's throwing a NPE on the line below. Code (Text): Bukkit.createWorld(new WorldCreator("world").generator(new DeathGamesGenerator()).generateStructures(true)); UPDATE: I made a change to the plugin and now Bukkit#getWorld is throwing the NPE. Because a function in my plugin modifies terrain generation, I need to have the plugin loaded in before the worlds are, which is why this is happening. Can anyone help out? Essentially I just need to create a new world overwriting the old one every time the server starts up, using my custom terrain generation.