UpdateBlockPropertiesPacket: expose nbt field

This commit is contained in:
Dylan K. Taylor 2020-03-24 11:06:58 +00:00
parent da7ff9b1fe
commit 0691a40204

View File

@ -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();
}