Collections recursive addition.
Contributed by Index.
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user