Fixed Cobblestone Generators consuming their fuel item
This commit is contained in:
parent
bb88a24e6c
commit
86e2b3411a
1 changed files with 0 additions and 10 deletions
|
|
@ -62,17 +62,7 @@ public class TileCobblegen extends TileEntityLockable implements ITickable, ISid
|
|||
this.currentFuelBuffer = this.fuelTime = getFuelAmount(this.ItemStacks[1]);
|
||||
|
||||
if (this.fuelTime > 0)
|
||||
{
|
||||
flag = true;
|
||||
|
||||
if (this.ItemStacks[1] != null)
|
||||
{
|
||||
--this.ItemStacks[1].stackSize;
|
||||
|
||||
if (this.ItemStacks[1].stackSize == 0)
|
||||
this.ItemStacks[1] = ItemStacks[1].getItem().getContainerItem(ItemStacks[1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (this.isUsingFuel() && this.canProcess())
|
||||
|
|
|
|||
Loading…
Reference in a new issue