diff --git a/src/entity/object/FallingBlock.php b/src/entity/object/FallingBlock.php index e53070a24..765d20b63 100644 --- a/src/entity/object/FallingBlock.php +++ b/src/entity/object/FallingBlock.php @@ -112,7 +112,7 @@ class FallingBlock extends Entity{ $this->flagForDespawn(); $block = $world->getBlock($pos); - if(($block->isTransparent() and !$block->canBeReplaced()) or !$world->isInWorld($pos->getFloorX(), $pos->getFloorY(), $pos->getFloorZ()) or ($this->onGround and abs($this->location->y - $this->location->getFloorY()) > 0.001)){ + if(!$block->canBeReplaced() or !$world->isInWorld($pos->getFloorX(), $pos->getFloorY(), $pos->getFloorZ()) or ($this->onGround and abs($this->location->y - $this->location->getFloorY()) > 0.001)){ //FIXME: anvils are supposed to destroy torches $world->dropItem($this->location, $this->block->asItem()); }else{