Moved WORLD_LOAD event to after world is actually loaded

By: Drakia <Contact@TheDgtl.net>
This commit is contained in:
CraftBukkit/Spigot 2011-03-26 20:50:52 -07:00
parent fe15903b22
commit 6f8ecc04e5

View file

@ -319,7 +319,7 @@ public final class CraftServer implements Server {
}
}
}
pluginManager.callEvent(new WorldLoadEvent(internal.getWorld()));
return internal.getWorld();
}
@ -333,8 +333,6 @@ public final class CraftServer implements Server {
protected void addWorld(World world) {
worlds.put(world.getName().toLowerCase(), world);
pluginManager.callEvent(new WorldLoadEvent(world));
}
public Logger getLogger() {