Updated ExUserInfoEquipSlot.

Contributed by Mantra.
This commit is contained in:
MobiusDev 2018-09-12 21:01:24 +00:00
parent 90c33561d5
commit 63584d6924
2 changed files with 10 additions and 4 deletions

View File

@ -36,7 +36,10 @@ public class ExUserInfoEquipSlot extends AbstractMaskPacket<InventorySlot>
(byte) 0x00,
(byte) 0x00,
(byte) 0x00,
(byte) 0x00
(byte) 0x00,
(byte) 0x00, // 152
(byte) 0x00, // 152
(byte) 0x00, // 152
};
public ExUserInfoEquipSlot(L2PcInstance cha)
@ -66,7 +69,7 @@ public class ExUserInfoEquipSlot extends AbstractMaskPacket<InventorySlot>
OutgoingPackets.EX_USER_INFO_EQUIP_SLOT.writeId(packet);
packet.writeD(_activeChar.getObjectId());
packet.writeH(InventorySlot.values().length);
packet.writeH(60); // 152
packet.writeB(_masks);
final PcInventory inventory = _activeChar.getInventory();

View File

@ -36,7 +36,10 @@ public class ExUserInfoEquipSlot extends AbstractMaskPacket<InventorySlot>
(byte) 0x00,
(byte) 0x00,
(byte) 0x00,
(byte) 0x00
(byte) 0x00,
(byte) 0x00, // 152
(byte) 0x00, // 152
(byte) 0x00, // 152
};
public ExUserInfoEquipSlot(L2PcInstance cha)
@ -66,7 +69,7 @@ public class ExUserInfoEquipSlot extends AbstractMaskPacket<InventorySlot>
OutgoingPackets.EX_USER_INFO_EQUIP_SLOT.writeId(packet);
packet.writeD(_activeChar.getObjectId());
packet.writeH(InventorySlot.values().length);
packet.writeH(60); // 152
packet.writeB(_masks);
final PcInventory inventory = _activeChar.getInventory();