A bunch more null fixes

This commit is contained in:
Vincent Lee committed 2017-01-05 03:59:01 -06:00
1 parent 24779ded1c
commit 4a3e0fd636
49 files changed
+75 -75

No files matched your search

@@ -119,7 +119,7 @@ public class EntitySpark extends Entity implements ISparkEntity {
stacks.addAll(Arrays.asList(baubleStacks));
for(ItemStack stack : stacks) {
if(stack == null || !(stack.getItem() instanceof IManaItem))
if(stack.isEmpty() || !(stack.getItem() instanceof IManaItem))
continue;
IManaItem manaItem = (IManaItem) stack.getItem();