From 8fa196efc9b97530f8f8d93f1afeef57921e44b4 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 7 Aug 2018 18:48:52 +0100 Subject: [PATCH] FallingBlock: fixed state not being saved --- src/pocketmine/entity/object/FallingBlock.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pocketmine/entity/object/FallingBlock.php b/src/pocketmine/entity/object/FallingBlock.php index e440fb6d0..a2dfa4ad4 100644 --- a/src/pocketmine/entity/object/FallingBlock.php +++ b/src/pocketmine/entity/object/FallingBlock.php @@ -134,6 +134,7 @@ class FallingBlock extends Entity{ } public function saveNBT() : void{ + parent::saveNBT(); $this->namedtag->setInt("TileID", $this->block->getId(), true); $this->namedtag->setByte("Data", $this->block->getDamage()); }