mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-27 13:49:55 +00:00
UpdateBlockPropertiesPacket: expose nbt field
This commit is contained in:
parent
da7ff9b1fe
commit
0691a40204
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user