diff options
Diffstat (limited to 'src/main/java/net/minecraft')
-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 ); } |