mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Updated entity despawning
This commit is contained in:
parent
f03f376535
commit
fd1186061f
1 changed files with 2 additions and 2 deletions
|
|
@ -142,11 +142,11 @@ class Player{
|
|||
));
|
||||
break;
|
||||
case "entity.remove":
|
||||
if($data === $this->eid){
|
||||
if($data->eid === $this->eid){
|
||||
break;
|
||||
}
|
||||
$this->dataPacket(MC_REMOVE_ENTITY, array(
|
||||
"eid" => $data,
|
||||
"eid" => $data->eid,
|
||||
));
|
||||
break;
|
||||
case "server.time.change":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue