mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Fixed Bug with Double Furnace & Double Crusher not crushing if both slots are filled /cc KittyVanCat
This commit is contained in:
parent
d6dcb17e2a
commit
416ea1de02
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ public class TileEntityFurnaceDouble extends TileEntityInventoryBase implements
|
|||
this.secondSmeltTime = 0;
|
||||
}
|
||||
|
||||
if(this.storage.getEnergyStored() >= ConfigIntValues.FURNACE_ENERGY_USED.getValue() && this.firstSmeltTime > 0 || this.secondSmeltTime > 0){
|
||||
if(this.storage.getEnergyStored() >= ConfigIntValues.FURNACE_ENERGY_USED.getValue() && (this.firstSmeltTime > 0 || this.secondSmeltTime > 0)){
|
||||
this.storage.extractEnergy(ConfigIntValues.FURNACE_ENERGY_USED.getValue(), false);
|
||||
}
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ public class TileEntityGrinder extends TileEntityInventoryBase implements IEnerg
|
|||
}
|
||||
}
|
||||
|
||||
if(this.storage.getEnergyStored() >= getEnergyUse() && this.firstCrushTime > 0 || this.secondCrushTime > 0){
|
||||
if(this.storage.getEnergyStored() >= getEnergyUse() && (this.firstCrushTime > 0 || this.secondCrushTime > 0)){
|
||||
this.storage.extractEnergy(getEnergyUse(), false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue