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