diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-03-26 23:20:35 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-03-26 23:20:35 +0100 |
commit | 84054ec6806ab48886b41ad39cd826bc0a03d089 (patch) | |
tree | c34e907b6e6857a5643c295f7c82c2beb627a3ca /src/main/java/net | |
parent | 8dc7b55749b74478b68a01e392aa8549ca3e4cfe (diff) | |
download | craftbukkit-84054ec6806ab48886b41ad39cd826bc0a03d089.tar craftbukkit-84054ec6806ab48886b41ad39cd826bc0a03d089.tar.gz craftbukkit-84054ec6806ab48886b41ad39cd826bc0a03d089.tar.lz craftbukkit-84054ec6806ab48886b41ad39cd826bc0a03d089.tar.xz craftbukkit-84054ec6806ab48886b41ad39cd826bc0a03d089.zip |
Fix some wrong event creations after previous change
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/minecraft/server/MinecraftServer.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java index 476e57ad..78b18503 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -21,9 +21,8 @@ import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.LoggerOutputStream; import org.bukkit.craftbukkit.command.ColouredConsoleSender; import org.bukkit.craftbukkit.scheduler.CraftScheduler; -import org.bukkit.event.Event; -import org.bukkit.event.world.WorldEvent; -// CraftBukkit end +import org.bukkit.event.world.WorldSaveEvent; + public class MinecraftServer implements Runnable, ICommandListener { @@ -211,7 +210,7 @@ public class MinecraftServer implements Runnable, ICommandListener { world.a(true, (IProgressUpdate) null); world.r(); - WorldEvent event = new WorldEvent( Event.Type.WORLD_SAVE, world.getWorld() ); + WorldSaveEvent event = new WorldSaveEvent( world.getWorld() ); server.getPluginManager().callEvent( event ); } |