Henna packet corrections.

This commit is contained in:
MobiusDev 2018-09-11 14:14:07 +00:00
parent 43e04da970
commit 9f4cfe09f9
2 changed files with 2 additions and 1 deletions

View File

@ -63,6 +63,7 @@ public class HennaEquipList implements IClientOutgoingPacket
packet.writeQ(henna.getWearCount()); // amount of dyes required packet.writeQ(henna.getWearCount()); // amount of dyes required
packet.writeQ(henna.getWearFee()); // amount of Adena required packet.writeQ(henna.getWearFee()); // amount of Adena required
packet.writeD(henna.isAllowedClass(_player.getClassId()) ? 0x01 : 0x00); // meet the requirement or not packet.writeD(henna.isAllowedClass(_player.getClassId()) ? 0x01 : 0x00); // meet the requirement or not
// packet.writeD(0x00); // Does not exist in Classic.
} }
} }
return true; return true;

View File

@ -50,7 +50,7 @@ public class HennaRemoveList implements IClientOutgoingPacket
packet.writeD(henna.getDyeItemId()); packet.writeD(henna.getDyeItemId());
packet.writeQ(henna.getCancelCount()); packet.writeQ(henna.getCancelCount());
packet.writeQ(henna.getCancelFee()); packet.writeQ(henna.getCancelFee());
packet.writeD(henna.isAllowedClass(_player.getClassId()) ? 0x01 : 0x00); packet.writeD(0x00);
} }
} }
return true; return true;