mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 13:09:44 +00:00
Improved the option to cancel handling events
This commit is contained in:
parent
6742273644
commit
00fea6461c
1 changed files with 5 additions and 3 deletions
|
|
@ -210,7 +210,9 @@ class PocketMinecraftServer extends stdClass{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$handlers->finalize();
|
$handlers->finalize();
|
||||||
$this->trigger($event, $data);
|
if($result !== false){
|
||||||
|
$this->trigger($event, $data);
|
||||||
|
}
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue