Added missing call for WorldUnload event.

This commit is contained in:
EvilSeph 2011-10-02 23:16:58 -04:00
parent aaefd4ecb5
commit 3b2347093f

View File

@ -588,6 +588,7 @@ public final class CraftServer implements Server {
} }
WorldUnloadEvent e = new WorldUnloadEvent(handle.getWorld()); WorldUnloadEvent e = new WorldUnloadEvent(handle.getWorld());
pluginManager.callEvent(new WorldUnloadEvent(handle.getWorld()));
if (e.isCancelled()) { if (e.isCancelled()) {
return false; return false;