mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 03:51:37 +00:00
Do not check type on actions
This commit is contained in:
@@ -621,7 +621,7 @@ class PocketMinecraftServer{
|
||||
$return = call_user_func($schedule[0], $schedule[1], $schedule[2]);
|
||||
}
|
||||
|
||||
if($action["repeat"] === 0 or $return === false){
|
||||
if($action["repeat"] == 0 or $return === false){
|
||||
$this->query("DELETE FROM actions WHERE ID = ".$action["ID"].";");
|
||||
$this->schedule[$cid] = null;
|
||||
unset($this->schedule[$cid]);
|
||||
|
Reference in New Issue
Block a user