diff --git a/src/main/java/techreborn/tiles/teir1/TileRecycler.java b/src/main/java/techreborn/tiles/teir1/TileRecycler.java index f98ae8697..ee079e462 100644 --- a/src/main/java/techreborn/tiles/teir1/TileRecycler.java +++ b/src/main/java/techreborn/tiles/teir1/TileRecycler.java @@ -114,13 +114,24 @@ public class TileRecycler extends TilePowerAcceptor implements IWrenchable, IInv public boolean canRecycle () { - if (getStackInSlot(input1) != null && getStackInSlot(output) == null ? true : getStackInSlot(output).stackSize < 64) + if (getStackInSlot(input1) != null && hasSlotGotSpace(input1)) { return true; } return false; } + public boolean hasSlotGotSpace(int slot){ + if(getStackInSlot(slot) == null){ + return true; + } else if(getStackInSlot(slot).stackSize < getStackInSlot(slot).getMaxStackSize()){ + return true; + } + return true; + } + + + public boolean isBurning () { return getEnergy() > cost;