From 4039895d3ce321a37803672caacbda04c88cfa9b Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sat, 3 Jan 2015 03:43:41 +0100 Subject: [PATCH] Fixed #2489 --- src/pocketmine/entity/FallingSand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/entity/FallingSand.php b/src/pocketmine/entity/FallingSand.php index 5c870d110..8ee4e50fc 100644 --- a/src/pocketmine/entity/FallingSand.php +++ b/src/pocketmine/entity/FallingSand.php @@ -111,7 +111,7 @@ class FallingSand extends Entity{ if($this->onGround){ $this->kill(); $block = $this->level->getBlock($pos); - if(!$block->isFullBlock){ + if($block->getId() > 0 and !$block->isSolid()){ $this->getLevel()->dropItem($this, ItemItem::get($this->getBlock(), $this->getDamage(), 1)); }else{ $this->server->getPluginManager()->callEvent($ev = new EntityBlockChangeEvent($this, $block, Block::get($this->getBlock(), $this->getDamage())));