From b37dd48ae5ec70f1bc763de1e4aa69c4321f18ed Mon Sep 17 00:00:00 2001 From: Drakia Date: Sat, 26 Mar 2011 20:50:52 -0700 Subject: [PATCH] Moved WORLD_LOAD event to after world is actually loaded --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index aafdb9be23..089bd50fd0 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -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() {