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