From f476e47a4601249b52d330389f5fbc94ad1383a8 Mon Sep 17 00:00:00 2001 From: Shadows_of_Fire Date: Fri, 27 Jul 2018 20:11:58 -0400 Subject: [PATCH] Closes #1150 --- .../actuallyadditions/mod/tile/TileEntityCoalGenerator.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityCoalGenerator.java b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityCoalGenerator.java index bbf776d9f..2c7b86178 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityCoalGenerator.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityCoalGenerator.java @@ -80,7 +80,9 @@ public class TileEntityCoalGenerator extends TileEntityInventoryBase implements if(!this.isRedstonePowered && this.currentBurnTime <= 0 && burn > 0 && this.storage.getEnergyStored() < this.storage.getMaxEnergyStored()){ this.maxBurnTime = burn; this.currentBurnTime = burn; + ItemStack copy = stack.copy(); stack.shrink(1); + if(stack.isEmpty()) inv.setStackInSlot(0, copy.getItem().getContainerItem(copy)); } if(flag != this.currentBurnTime > 0 || this.lastCompare != this.getComparatorStrength()){