Added missing call for WorldUnload event.

By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2011-10-02 23:16:58 -04:00
parent 691d4bb694
commit 6e38cffca0

View file

@ -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;