php5 is dead, reverted some teleport tweaks, nullsafe is deprecated, cactus hitbox is fixed

This commit is contained in:
GameHerobrine 2023-08-21 01:34:44 +03:00
parent 2e374fb09c
commit 0c8b56e22b
11 changed files with 35 additions and 58 deletions

View file

@ -176,7 +176,7 @@ class EntityAPI{
}
public function get($eid){
return nullsafe($this->entities[$eid], false);
return $this->entities[$eid] ?? false;
}
public function remove($eid){