From 3b2347093f50a2df07ac2df30477c58c9a062800 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Sun, 2 Oct 2011 23:16:58 -0400 Subject: [PATCH] Added missing call for WorldUnload event. --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 8ae0bd542e..2035ace4b7 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -588,6 +588,7 @@ public final class CraftServer implements Server { } WorldUnloadEvent e = new WorldUnloadEvent(handle.getWorld()); + pluginManager.callEvent(new WorldUnloadEvent(handle.getWorld())); if (e.isCancelled()) { return false;