mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
goodbye php5, u wont be missed
This commit is contained in:
parent
2858b43748
commit
d7d346a237
16 changed files with 26 additions and 33 deletions
|
|
@ -175,7 +175,7 @@ class EntityAPI{
|
|||
}
|
||||
|
||||
public function get($eid){
|
||||
return nullsafe($this->entities[$eid], false);
|
||||
return $this->entities[$eid] ?? false;
|
||||
}
|
||||
|
||||
public function remove($eid){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue