diff --git a/src/main/java/techreborn/tiles/TileMatterFabricator.java b/src/main/java/techreborn/tiles/TileMatterFabricator.java index e69006361..724642d11 100644 --- a/src/main/java/techreborn/tiles/TileMatterFabricator.java +++ b/src/main/java/techreborn/tiles/TileMatterFabricator.java @@ -114,7 +114,7 @@ public class TileMatterFabricator extends TilePowerAcceptor if (!super.world.isRemote) { for (int i = 0; i < 6; i++) { final ItemStack stack = this.inventory.getStackInSlot(i); - if (stack != null) { + if (!stack.isEmpty()) { final int amp = this.getValue(stack); if(amp != 0 && this.canUseEnergy(85)){ this.useEnergy(85);