mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Merge branch 'release/3.1' into release/3.2
This commit is contained in:
@ -134,6 +134,7 @@ class FallingBlock extends Entity{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function saveNBT() : void{
|
public function saveNBT() : void{
|
||||||
|
parent::saveNBT();
|
||||||
$this->namedtag->setInt("TileID", $this->block->getId(), true);
|
$this->namedtag->setInt("TileID", $this->block->getId(), true);
|
||||||
$this->namedtag->setByte("Data", $this->block->getDamage());
|
$this->namedtag->setByte("Data", $this->block->getDamage());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user