From a33be643c463f932cd6093d59750fe155657e894 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 29 Sep 2017 14:53:23 +0100 Subject: [PATCH] Fixed falling blocks not falling when placed above fire, close #1425 yes, hardcoding this is not a nice solution - PC also does this, want to fight? --- src/pocketmine/block/Fallable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/block/Fallable.php b/src/pocketmine/block/Fallable.php index 95a7a5e71..4a6e24036 100644 --- a/src/pocketmine/block/Fallable.php +++ b/src/pocketmine/block/Fallable.php @@ -38,7 +38,7 @@ abstract class Fallable extends Solid{ public function onUpdate(int $type){ if($type === Level::BLOCK_UPDATE_NORMAL){ $down = $this->getSide(Vector3::SIDE_DOWN); - if($down->getId() === self::AIR or ($down instanceof Liquid)){ + if($down->getId() === self::AIR or $down instanceof Liquid or $down instanceof Fire){ $this->level->setBlock($this, BlockFactory::get(Block::AIR), true); $fall = Entity::createEntity("FallingSand", $this->getLevel(), new CompoundTag("", [ new ListTag("Pos", [