mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-23 07:38:34 +01:00
Added missing configuration for Lava Factory
This commit is contained in:
parent
cfbbf9d59d
commit
f0f3ae4ffe
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ public class TileEntityLavaFactoryController extends TileEntityBase implements I
|
|||
int energyUse = ConfigIntValues.LAVA_FACTORY_ENERGY_USE.getValue();
|
||||
if(this.storage.getEnergyStored() >= energyUse && this.isMultiblock() == HAS_AIR){
|
||||
this.currentWorkTime++;
|
||||
if(this.currentWorkTime >= 200){
|
||||
if(this.currentWorkTime >= ConfigIntValues.LAVA_FACTORY_PRODUCTION_DURATION.getValue()){
|
||||
this.currentWorkTime = 0;
|
||||
this.world.setBlockState(this.pos.up(), Blocks.LAVA.getDefaultState(), 2);
|
||||
this.storage.extractEnergyInternal(energyUse, false);
|
||||
|
|
Loading…
Reference in a new issue