mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
InventoryTransactionPacket: added missing field for encode
This commit is contained in:
parent
c267137fde
commit
a6c1b7bf9c
@ -129,6 +129,8 @@ class InventoryTransactionPacket extends DataPacket{
|
||||
|
||||
$this->putUnsignedVarInt($this->transactionType);
|
||||
|
||||
$this->putBool($this->hasItemStackIds);
|
||||
|
||||
$this->putUnsignedVarInt(count($this->actions));
|
||||
foreach($this->actions as $action){
|
||||
$action->write($this, $this->hasItemStackIds);
|
||||
|
Loading…
x
Reference in New Issue
Block a user