Collections recursive addition.

Contributed by Index.
This commit is contained in:
MobiusDevelopment 2022-10-24 21:21:17 +00:00
parent cc1d6b2fab
commit 24d974bc84
2 changed files with 4 additions and 2 deletions

View File

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

View File

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