mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +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();
|
$handlers->finalize();
|
||||||
|
if($result !== false){
|
||||||
$this->trigger($event, $data);
|
$this->trigger($event, $data);
|
||||||
|
}
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user