Fixed probable future update problem by checking protocol 166.
This commit is contained in:
@@ -63,7 +63,7 @@ public class EnchantResult implements IClientOutgoingPacket
|
|||||||
packet.writeD(_crystal);
|
packet.writeD(_crystal);
|
||||||
packet.writeQ(_count);
|
packet.writeQ(_count);
|
||||||
|
|
||||||
if (!Config.PROTOCOL_LIST.contains(166)) // 152
|
if ((Config.PROTOCOL_LIST.size() == 1) && Config.PROTOCOL_LIST.contains(152)) // 152
|
||||||
{
|
{
|
||||||
packet.writeD(_enchantLevel);
|
packet.writeD(_enchantLevel);
|
||||||
for (int option : _enchantOptions)
|
for (int option : _enchantOptions)
|
||||||
|
Reference in New Issue
Block a user