From 4d4786dc0d3bb02111d3a26fb1153fef482b3e44 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sat, 31 Aug 2013 19:27:22 +0200 Subject: [PATCH] Fixed packet index when opening a furnace --- src/world/Tile.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/world/Tile.php b/src/world/Tile.php index bfc43d03..40b10098 100644 --- a/src/world/Tile.php +++ b/src/world/Tile.php @@ -192,9 +192,6 @@ class Tile extends Position{ "windowid" => $id, "count" => count($slots), "slots" => $slots, - "x" => $this->x, - "y" => $this->y, - "z" => $this->z )); return true; }elseif($this->class === TILE_FURNACE){ @@ -205,6 +202,9 @@ class Tile extends Position{ "windowid" => $id, "type" => WINDOW_FURNACE, "slots" => FURNACE_SLOTS, + "x" => $this->x, + "y" => $this->y, + "z" => $this->z )); $slots = array(); for($s = 0; $s < FURNACE_SLOTS; ++$s){