mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-11 16:29:40 +00:00
Merge branch 'release/3.3'
This commit is contained in:
commit
cc876b0e03
@ -92,10 +92,6 @@ abstract class Event{
|
|||||||
$currentList = $handlerList;
|
$currentList = $handlerList;
|
||||||
while($currentList !== null){
|
while($currentList !== null){
|
||||||
foreach($currentList->getListenersByPriority($priority) as $registration){
|
foreach($currentList->getListenersByPriority($priority) as $registration){
|
||||||
if(!$registration->getPlugin()->isEnabled()){
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
$registration->callEvent($this);
|
$registration->callEvent($this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user