mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
entity will quit minecraft somewhat correctly now
This commit is contained in:
parent
218a000c41
commit
690e0e6ebd
2 changed files with 8 additions and 0 deletions
|
|
@ -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]);
|
||||
//}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue