From 4f3700f13a236b53d220289c421c31368e7f27b9 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Fri, 7 Jun 2013 20:35:05 +0200 Subject: [PATCH] Fixes indexes --- src/world/Entity.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/world/Entity.php b/src/world/Entity.php index 42123f2eb9..9eae12e09f 100644 --- a/src/world/Entity.php +++ b/src/world/Entity.php @@ -566,6 +566,10 @@ class Entity extends Position{ "x" => $this->x, "y" => $this->y, "z" => $this->z, + "yaw" => 0, + "pitch" => 0, + "unknown1" => 0, + "unknown2" => 0, "metadata" => $this->getMetadata(), )); $player->dataPacket(MC_PLAYER_EQUIPMENT, array(