From 6e5924a1837bc993353353cebc84dc6a8f4ff2b9 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Thu, 30 May 2013 12:49:35 +0200 Subject: [PATCH] Typo fixed --- src/world/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/Entity.php b/src/world/Entity.php index 96bd37067..08c97b174 100644 --- a/src/world/Entity.php +++ b/src/world/Entity.php @@ -406,7 +406,7 @@ class Entity extends Position{ } if($this->class === ENTITY_FALLING){ $fall = $this->level->getBlock(new Vector3(intval($this->x - 0.5), intval(ceil($this->y)), intval($this->z - 0.5))); - $down = $this->level->getBlock(new Vector3(intval($this->x - 0.5), intval(ceil($this->y)), intval($this->z - 0.5))); + $down = $this->level->getBlock(new Vector3(intval($this->x - 0.5), intval(ceil($this->y) - 1), intval($this->z - 0.5))); if($fall->isFullBlock === false or $down->isFullBlock === false){ $this->server->api->entity->drop($this, BlockAPI::getItem($this->data["Tile"] & 0xFFFF, 0, 1), true); }else{