ExEnchantSkillInfoDetail NPE fix.
This commit is contained in:
parent
cef955f9e0
commit
39a6705f3e
@ -50,7 +50,7 @@ public class ExEnchantSkillInfoDetail implements IClientOutgoingPacket
|
||||
packet.writeD(_type.ordinal());
|
||||
packet.writeD(_skillId);
|
||||
packet.writeD(_skillLvl);
|
||||
if (_enchantSkillHolder != null)
|
||||
if ((_enchantSkillHolder != null) && (_type != SkillEnchantType.UNTRAIN))
|
||||
{
|
||||
packet.writeQ(_enchantSkillHolder.getSp(_type));
|
||||
packet.writeD(_enchantSkillHolder.getChance(_type));
|
||||
|
Loading…
Reference in New Issue
Block a user