mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 17:52:28 +01:00
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());
|
||||
pluginManager.callEvent(new WorldUnloadEvent(handle.getWorld()));
|
||||
|
||||
if (e.isCancelled()) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue