Added missing call for WorldUnload event.
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
parent
691d4bb694
commit
6e38cffca0
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue