Fixed AbstractItemPacket NPE.
This commit is contained in:
@@ -170,7 +170,7 @@ public abstract class AbstractItemPacket extends AbstractMaskPacket<ItemListType
|
|||||||
mask |= ItemListType.VISUAL_ID.getMask();
|
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();
|
mask |= ItemListType.SOUL_CRYSTAL.getMask();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user