mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-28 06:09:57 +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;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getNbt() : string{
|
||||||
|
return $this->nbt;
|
||||||
|
}
|
||||||
|
|
||||||
protected function decodePayload(NetworkBinaryStream $in) : void{
|
protected function decodePayload(NetworkBinaryStream $in) : void{
|
||||||
$this->nbt = $in->getRemaining();
|
$this->nbt = $in->getRemaining();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user