diff options
author | Drakia <Contact@TheDgtl.net> | 2011-03-26 20:50:52 -0700 |
---|---|---|
committer | Andrew Ardill <andrew.ardill@gmail.com> | 2011-03-29 18:41:52 +1100 |
commit | b37dd48ae5ec70f1bc763de1e4aa69c4321f18ed (patch) | |
tree | b273af57fbcfa9bdcf302c97179c5408b3375882 /src/main/java | |
parent | ee815b7e403a40627dbe6abe78703714ded875d3 (diff) | |
download | craftbukkit-b37dd48ae5ec70f1bc763de1e4aa69c4321f18ed.tar craftbukkit-b37dd48ae5ec70f1bc763de1e4aa69c4321f18ed.tar.gz craftbukkit-b37dd48ae5ec70f1bc763de1e4aa69c4321f18ed.tar.lz craftbukkit-b37dd48ae5ec70f1bc763de1e4aa69c4321f18ed.tar.xz craftbukkit-b37dd48ae5ec70f1bc763de1e4aa69c4321f18ed.zip |
Moved WORLD_LOAD event to after world is actually loaded
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index aafdb9be..089bd50f 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() { |