mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-16 16:34:05 +00:00
Handle force parameter properly on Level::unload()
This commit is contained in:
parent
50f5c6d8ed
commit
6fb7170556
@ -329,7 +329,7 @@ class Level implements ChunkManager, Metadatable{
|
|||||||
|
|
||||||
$this->server->getPluginManager()->callEvent($ev);
|
$this->server->getPluginManager()->callEvent($ev);
|
||||||
|
|
||||||
if($ev->isCancelled()){
|
if(!$force and $ev->isCancelled()){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user