From 1c63448c6ca357f41227a1d78cceed7af516053d Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Thu, 7 Mar 2013 17:44:28 +0100 Subject: [PATCH] Drop in the correct position --- src/Player.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Player.php b/src/Player.php index 22e7ee9c..6416a47a 100644 --- a/src/Player.php +++ b/src/Player.php @@ -778,7 +778,7 @@ class Player{ $data["item"] = $item; if($this->server->handle("player.drop", $data) !== false){ $this->removeItem($item->getID(), $item->getMetadata(), $item->count); - $this->server->api->block->drop(new Vector3($this->entity->x, $this->entity->y, $this->entity->z), $item); + $this->server->api->block->drop(new Vector3($this->entity->x - 0.5, $this->entity->y, $this->entity->z - 0.5), $item); } break; case MC_SIGN_UPDATE: