diff --git a/src/pocketmine/entity/FallingBlock.php b/src/pocketmine/entity/FallingBlock.php index d28955294..43fea4900 100644 --- a/src/pocketmine/entity/FallingBlock.php +++ b/src/pocketmine/entity/FallingBlock.php @@ -56,7 +56,7 @@ class FallingBlock extends Entity{ } elseif(isset($this->namedtag->Tile)){ $this->blockId = $this->namedtag["Tile"]; - $this->namedtag["TileID"] = $this->blockId; + $this->namedtag["TileID"] = new Int("TileID", $this->blockId); } if($this->blockId === 0){ @@ -166,4 +166,4 @@ class FallingBlock extends Entity{ parent::spawnTo($player); } -} \ No newline at end of file +}