From 92281da5147e068c667c75aebf903ad854413b37 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 23 May 2017 20:02:23 +0100 Subject: [PATCH] Fix wrong comment in FallingSand This is actually a bug in MCPE --- 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 2ff81d4e7..6d1d526d4 100644 --- a/src/pocketmine/entity/FallingSand.php +++ b/src/pocketmine/entity/FallingSand.php @@ -122,7 +122,7 @@ class FallingSand extends Entity{ $this->kill(); $block = $this->level->getBlock($pos); if($block->getId() > 0 and $block->isTransparent() and !$block->canBeReplaced()){ - //FIXME: falling blocks are supposed to be destroyed by glass blocks, and anvils are supposed to destroy torches + //FIXME: anvils are supposed to destroy torches $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())));