Moved WORLD_LOAD event to after world is actually loaded

This commit is contained in:
Drakia 2011-03-26 20:50:52 -07:00 committed by Andrew Ardill
parent ee815b7e40
commit b37dd48ae5

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() {