From 21e9a861946ce2cf8a968258825b57fe97f30621 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Sat, 21 Apr 2018 15:56:25 +0100 Subject: [PATCH] Fix #1489 --- src/main/java/techreborn/tiles/tier1/TileRecycler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/techreborn/tiles/tier1/TileRecycler.java b/src/main/java/techreborn/tiles/tier1/TileRecycler.java index ffae11f97..1fa1a1973 100644 --- a/src/main/java/techreborn/tiles/tier1/TileRecycler.java +++ b/src/main/java/techreborn/tiles/tier1/TileRecycler.java @@ -112,7 +112,8 @@ public class TileRecycler extends TilePowerAcceptor final IBlockState BlockStateContainer = this.world.getBlockState(this.pos); if (BlockStateContainer.getBlock() instanceof BlockMachineBase) { final BlockMachineBase blockMachineBase = (BlockMachineBase) BlockStateContainer.getBlock(); - if (BlockStateContainer.getValue(BlockMachineBase.ACTIVE) != this.isBurning) + boolean shouldBurn = this.isBurning || (this.canRecycle() && this.canUseEnergy(getEuPerTick(this.cost))); + if (BlockStateContainer.getValue(BlockMachineBase.ACTIVE) != shouldBurn) blockMachineBase.setActive(this.isBurning, this.world, this.pos); } }