mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-28 05:25:42 +01:00
Added missing call for WorldUnload event.
This commit is contained in:
parent
aaefd4ecb5
commit
3b2347093f
@ -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…
Reference in New Issue
Block a user