mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 08:35:20 +00:00
InventoryTransactionPacket: added missing field for encode
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user