entity will quit minecraft somewhat correctly now

This commit is contained in:
GameHerobrine 2023-05-14 20:36:38 +03:00
parent 218a000c41
commit 690e0e6ebd
2 changed files with 8 additions and 0 deletions

View file

@ -1272,6 +1272,8 @@ class Entity extends Position
public function linkEntity(Entity $e, $type)
{
//if($e->isPlayer()){
$this->linkedEntity = $e;
$e->linkedEntity = $this;
$this->server->api->dhandle("entity.link", ["rider" => $e->eid, "riding" => $this->eid, "type" => 0]);
//}
}