Fixed AbstractItemPacket NPE.
This commit is contained in:
parent
b7f07ad5a7
commit
75251f7c00
@ -170,7 +170,7 @@ public abstract class AbstractItemPacket extends AbstractMaskPacket<ItemListType
|
||||
mask |= ItemListType.VISUAL_ID.getMask();
|
||||
}
|
||||
|
||||
if (!item.getSoulCrystalOptions().isEmpty() || !item.getSoulCrystalSpecialOptions().isEmpty())
|
||||
if (((item.getSoulCrystalOptions() != null) && !item.getSoulCrystalOptions().isEmpty()) || ((item.getSoulCrystalSpecialOptions() != null) && !item.getSoulCrystalSpecialOptions().isEmpty()))
|
||||
{
|
||||
mask |= ItemListType.SOUL_CRYSTAL.getMask();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user