From 14d17a9546c2b35a7fe06cc53e7f62ef320d3dec Mon Sep 17 00:00:00 2001 From: IvanCraft623 <57236932+IvanCraft623@users.noreply.github.com> Date: Sun, 16 Oct 2022 09:21:35 -0500 Subject: [PATCH] Remove Erroneous documentation (#5346) --- src/entity/object/FallingBlock.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/entity/object/FallingBlock.php b/src/entity/object/FallingBlock.php index 5d3018d4b..b9af0237c 100644 --- a/src/entity/object/FallingBlock.php +++ b/src/entity/object/FallingBlock.php @@ -117,7 +117,6 @@ class FallingBlock extends Entity{ $block = $world->getBlock($pos); if(!$block->canBeReplaced() || !$world->isInWorld($pos->getFloorX(), $pos->getFloorY(), $pos->getFloorZ()) || ($this->onGround && abs($this->location->y - $this->location->getFloorY()) > 0.001)){ - //FIXME: anvils are supposed to destroy torches $world->dropItem($this->location, $this->block->asItem()); }else{ $ev = new EntityBlockChangeEvent($this, $block, $blockTarget ?? $this->block);