Fixed undefined $data on RotateHeadPacket

This commit is contained in:
Shoghi Cervantes 2014-02-09 05:08:32 +01:00
parent 6046b263dd
commit 072d0589d2

View File

@ -1495,7 +1495,7 @@ class Player{
$this->teleport($this->lastCorrect, $this->entity->yaw, $this->entity->pitch, false);
}
}else{
$this->entity->setPosition($this->entity, $data["yaw"], $data["pitch"]);
$this->entity->setPosition($this->entity, $packet->yaw, $packet->pitch);
}
}
break;