Move players from eye level, not top of head

This commit is contained in:
Shoghi Cervantes
2014-08-13 19:26:45 +02:00
parent 3ee61d5ebb
commit e6edace944
2 changed files with 3 additions and 3 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 + $this->height; //teleport from head
$pk->y = $this->y + 1.62; //teleport from head
$pk->z = $this->z;
$pk->yaw = $this->yaw;
$pk->pitch = $this->pitch;