mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
UpdateBlockPropertiesPacket: expose nbt field
This commit is contained in:
@@ -43,6 +43,10 @@ class UpdateBlockPropertiesPacket extends DataPacket implements ClientboundPacke
|
||||
return $result;
|
||||
}
|
||||
|
||||
public function getNbt() : string{
|
||||
return $this->nbt;
|
||||
}
|
||||
|
||||
protected function decodePayload(NetworkBinaryStream $in) : void{
|
||||
$this->nbt = $in->getRemaining();
|
||||
}
|
||||
|
Reference in New Issue
Block a user