mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 23:45:57 +00:00
A bunch more null fixes
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user