mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 07:13:28 +01:00
Closes #1150
This commit is contained in:
parent
1bec4bbff7
commit
f476e47a46
1 changed files with 2 additions and 0 deletions
|
@ -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()){
|
||||
|
|
Loading…
Reference in a new issue