Properly close inventory windows from Players

This commit is contained in:
Shoghi Cervantes
2014-11-27 13:32:07 +01:00
parent 441a98e60a
commit a3e50f6337
4 changed files with 8 additions and 6 deletions

View File

@ -1150,7 +1150,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
$pk = new MovePlayerPacket();
$pk->eid = 0;
$pk->x = $from->x;
$pk->y = $from->y + $this->getEyeHeight() + 0.01;
$pk->y = $from->y + $this->getEyeHeight();
$pk->z = $from->z;
$pk->bodyYaw = $from->yaw;
$pk->pitch = $from->pitch;