Add missing callWorldInitEvent on startup.

Dieser Commit ist enthalten in:
feildmaster 2012-08-02 10:14:01 -05:00
Ursprung 764c3f24ee
Commit 402b177be4

Datei anzeigen

@ -208,6 +208,8 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC
world.getWorld().getPopulators().addAll(gen.getDefaultPopulators(world.getWorld()));
}
this.server.getPluginManager().callEvent(new org.bukkit.event.world.WorldInitEvent(world.getWorld()));
world.addIWorldAccess(new WorldManager(this, world));
if (!this.H()) {
world.getWorldData().setGameType(this.getGamemode());