better collisions between entities

This commit is contained in:
GameHerobrine 2024-02-15 04:34:31 +03:00
parent 869b8b111a
commit fc334e7c99
4 changed files with 14 additions and 14 deletions

View file

@ -622,6 +622,7 @@ class PocketMinecraftServer{
try{
$return = @call_user_func($this->schedule[$cid][0] ?? function(){}, $this->schedule[$cid][1], $this->schedule[$cid][2]); //somehow args can be null
}catch(TypeError $e){
ConsoleAPI::error($e->getTraceAsString());
$return = false;
}
}else{