Adjustment for ExCollectionRegister.

Contributed by Index.
This commit is contained in:
MobiusDevelopment 2022-10-16 22:58:23 +00:00
parent c7a2b8c3c7
commit d1daa8d060
2 changed files with 2 additions and 4 deletions

View File

@ -45,8 +45,7 @@ public class ExCollectionRegister implements IClientOutgoingPacket
OutgoingPackets.EX_COLLECTION_REGISTER.writeId(packet);
packet.writeH(_collectionId);
packet.writeC(_success); // success
packet.writeC(0); // recursive reward
packet.writeH(249); // 256 - size so far
packet.writeH(250); // 256 - size so far
packet.writeC(_index); // slot index
packet.writeD(_collectionInfo.getId()); // item classId
packet.writeH(_collectionInfo.getEnchantLevel()); // enchant level

View File

@ -45,8 +45,7 @@ public class ExCollectionRegister implements IClientOutgoingPacket
OutgoingPackets.EX_COLLECTION_REGISTER.writeId(packet);
packet.writeH(_collectionId);
packet.writeC(_success); // success
packet.writeC(0); // recursive reward
packet.writeH(249); // 256 - size so far
packet.writeH(250); // 256 - size so far
packet.writeC(_index); // slot index
packet.writeD(_collectionInfo.getId()); // item classId
packet.writeH(_collectionInfo.getEnchantLevel()); // enchant level