mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 04:17:07 +00:00
Improved the option to cancel handling events
This commit is contained in:
parent
6742273644
commit
00fea6461c
@ -210,7 +210,9 @@ class PocketMinecraftServer extends stdClass{
|
||||
}
|
||||
}
|
||||
$handlers->finalize();
|
||||
$this->trigger($event, $data);
|
||||
if($result !== false){
|
||||
$this->trigger($event, $data);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user