mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Small changes, Ellie
This commit is contained in:
parent
d0a08d16e7
commit
9ef2dc6fe1
3 changed files with 4 additions and 4 deletions
|
|
@ -319,7 +319,7 @@ class Entity extends stdClass{
|
|||
}
|
||||
|
||||
public function spawn($player){
|
||||
if(!is_object($player)){
|
||||
if(!($player instanceof Player)){
|
||||
$player = $this->server->api->player->get($player);
|
||||
}
|
||||
if($player->eid === $this->eid){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue