diff options
author | feildmaster <admin@feildmaster.com> | 2012-08-02 10:14:01 -0500 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-08-02 10:14:01 -0500 |
commit | 402b177be427b3453dd0deefdb26779ee33d2ce1 (patch) | |
tree | 0c44165a8afc26ba39205ddc3f42388e5e81cbd8 /src/main/java | |
parent | 764c3f24eef06d281525784b54ce49e4f3356635 (diff) | |
download | craftbukkit-402b177be427b3453dd0deefdb26779ee33d2ce1.tar craftbukkit-402b177be427b3453dd0deefdb26779ee33d2ce1.tar.gz craftbukkit-402b177be427b3453dd0deefdb26779ee33d2ce1.tar.lz craftbukkit-402b177be427b3453dd0deefdb26779ee33d2ce1.tar.xz craftbukkit-402b177be427b3453dd0deefdb26779ee33d2ce1.zip |
Add missing callWorldInitEvent on startup.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/net/minecraft/server/MinecraftServer.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java index a5928505..8d07f855 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -208,6 +208,8 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC world.getWorld().getPopulators().addAll(gen.getDefaultPopulators(world.getWorld())); } + this.server.getPluginManager().callEvent(new org.bukkit.event.world.WorldInitEvent(world.getWorld())); + world.addIWorldAccess(new WorldManager(this, world)); if (!this.H()) { world.getWorldData().setGameType(this.getGamemode()); |