Do not use getWritableBytes for ExCollectionRegister.
This commit is contained in:
@@ -46,7 +46,7 @@ public class ExCollectionRegister implements IClientOutgoingPacket
|
||||
packet.writeH(_collectionId);
|
||||
packet.writeC(_success); // success
|
||||
packet.writeC(0); // recursive reward
|
||||
packet.writeH(packet.getWritableBytes()); // size
|
||||
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