Ton of null fixes

This commit is contained in:
Vincent Lee committed 2017-01-05 03:44:13 -06:00
1 parent a87dd1d46b
commit 24779ded1c
132 files changed
+403 -325

No files matched your search

@@ -251,7 +251,7 @@ public class ItemExchangeRod extends ItemMod implements IManaUsingItem, IWirefra
List<ItemStack> providers = new ArrayList<>();
for(int i = inv.getSizeInventory() - 1; i >= 0; i--) {
ItemStack invStack = inv.getStackInSlot(i);
if(invStack == null)
if(invStack.isEmpty())
continue;
Item item = invStack.getItem();