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