mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
fixes from npe 0.9 test
This commit is contained in:
parent
083ace7eb1
commit
385c8a1bc0
3 changed files with 14 additions and 7 deletions
|
|
@ -766,12 +766,12 @@ class Entity extends Position
|
|||
$this->updateLast();
|
||||
$players = $this->server->api->player->getAll($this->level);
|
||||
if($this->player instanceof Player){
|
||||
console("gujnbguib");
|
||||
//console("gujnbguib");
|
||||
unset($players[$this->player->CID]);
|
||||
$pk = new MovePlayerPacket();
|
||||
$pk->eid = $this->eid;
|
||||
$pk->x = $this->x;
|
||||
$pk->y = $this->y + $this->getEyeHeight();
|
||||
$pk->y = $this->y;
|
||||
$pk->z = $this->z;
|
||||
$pk->yaw = $this->yaw;
|
||||
$pk->pitch = $this->pitch;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue