mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-24 13:39:44 +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;
|
break;
|
||||||
case "entity.remove":
|
case "entity.remove":
|
||||||
if($data === $this->eid){
|
if($data->eid === $this->eid){
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$this->dataPacket(MC_REMOVE_ENTITY, array(
|
$this->dataPacket(MC_REMOVE_ENTITY, array(
|
||||||
"eid" => $data,
|
"eid" => $data->eid,
|
||||||
));
|
));
|
||||||
break;
|
break;
|
||||||
case "server.time.change":
|
case "server.time.change":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue