Players are now moved using the head, closes #1842

This commit is contained in:
Shoghi Cervantes
2014-08-10 13:22:12 +02:00
parent 4d7c953572
commit 582f1540a7
2 changed files with 3 additions and 4 deletions

View File

@@ -491,7 +491,7 @@ abstract class Entity extends Position implements Metadatable{
$pk = new MovePlayerPacket;
$pk->eid = $this->id;
$pk->x = $this->x;
$pk->y = $this->y;
$pk->y = $this->y + $this->height; //teleport from head
$pk->z = $this->z;
$pk->yaw = $this->yaw;
$pk->pitch = $this->pitch;