fixed tickerFunction x3

This commit is contained in:
GameHerobrine 2024-01-08 18:31:48 +03:00 • committed by GitHub
parent 3c89749125
commit 1df2204490
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -622,7 +622,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{