Adjustments for abstract item packet.
This commit is contained in:
@@ -81,8 +81,7 @@ public abstract class AbstractItemPacket extends AbstractMaskPacket<ItemListType
|
||||
packet.writeC(item.getCustomType1()); // Filler (always 0)
|
||||
packet.writeH(item.getEquipped()); // Equipped : 00-No, 01-yes
|
||||
packet.writeQ(item.getItem().getBodyPart()); // Slot : 0006-lr.ear, 0008-neck, 0030-lr.finger, 0040-head, 0100-l.hand, 0200-gloves, 0400-chest, 0800-pants, 1000-feet, 4000-r.hand, 8000-r.hand
|
||||
packet.writeC(item.getEnchantLevel()); // Enchant level (pet level shown in control item)
|
||||
packet.writeC(0x00); // 286 protocol
|
||||
packet.writeH(item.getEnchantLevel()); // Enchant level (pet level shown in control item)
|
||||
packet.writeD(item.getMana());
|
||||
packet.writeC(0x00); // 270 protocol
|
||||
packet.writeD(item.getTime());
|
||||
@@ -129,8 +128,7 @@ public abstract class AbstractItemPacket extends AbstractMaskPacket<ItemListType
|
||||
packet.writeC(item.getCustomType1()); // Filler (always 0)
|
||||
packet.writeH(item.getEquipped()); // Equipped : 00-No, 01-yes
|
||||
packet.writeQ(item.getItem().getBodyPart()); // Slot : 0006-lr.ear, 0008-neck, 0030-lr.finger, 0040-head, 0100-l.hand, 0200-gloves, 0400-chest, 0800-pants, 1000-feet, 4000-r.hand, 8000-r.hand
|
||||
packet.writeC(item.getEnchantLevel()); // Enchant level (pet level shown in control item)
|
||||
packet.writeC(0x00); // 286 protocol
|
||||
packet.writeH(item.getEnchantLevel()); // Enchant level (pet level shown in control item)
|
||||
packet.writeD(item.getMana());
|
||||
packet.writeC(0x00); // 270 protocol
|
||||
packet.writeD(item.getTime());
|
||||
|
||||
Reference in New Issue
Block a user