summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authort00thpick1 <t00thpick1dirko@gmail.com>2013-12-10 12:13:08 -0500
committerNate Mortensen <nate.richard.mortensen@gmail.com>2013-12-13 20:05:35 -0700
commite6bccf6bfdbd59deb11734433cc85349c01b1e20 (patch)
treeb9e2aeefb3cc7d768f190adead3d3b49c30f6ed9 /src/main/java/net
parent1460f250cf98881f4b376f48ac3da03b2c786949 (diff)
downloadcraftbukkit-e6bccf6bfdbd59deb11734433cc85349c01b1e20.tar
craftbukkit-e6bccf6bfdbd59deb11734433cc85349c01b1e20.tar.gz
craftbukkit-e6bccf6bfdbd59deb11734433cc85349c01b1e20.tar.lz
craftbukkit-e6bccf6bfdbd59deb11734433cc85349c01b1e20.tar.xz
craftbukkit-e6bccf6bfdbd59deb11734433cc85349c01b1e20.zip
Re-add WorldLoadEvent lost in 314051580a0a8e4745d3a539f232b552916eb302 Fixes BUKKIT-5125
In the 1.4.2 update for CraftBukkit, a missed diff resulted in the WorldLoadEvent no longer being fired for the worlds loaded on startup.
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/MinecraftServer.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
index c1c4aa06..c78e47bd 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
@@ -311,6 +311,10 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IMo
}
}
}
+
+ for (WorldServer world : this.worlds) {
+ this.server.getPluginManager().callEvent(new org.bukkit.event.world.WorldLoadEvent(world.getWorld()));
+ }
// CraftBukkit end
this.m();
}