fixed tickerfunction and queue after rollback

This commit is contained in:
GameHerobrine 2024-01-13 11:00:22 +03:00
parent 5a059eab71
commit c3e6554762
2 changed files with 3 additions and 1 deletions

View file

@ -620,7 +620,7 @@ class PocketMinecraftServer{
++$actionCount;
try{
$return = @call_user_func($this->schedule[$cid][0] ?? function(){}, $this->schedule[$cid][1], $this->schedule[$cid][2]); //somehow args can be null
}catch(ValueError $e){
}catch(Throwable $e){
$return = false;
}
}else{