Fixed mechanical sieve energy storage config option being ignored
This commit is contained in:
parent
0346a29ed4
commit
aa66440e8c
|
|
@ -75,7 +75,7 @@ public class MechanicalSieveBlockEntity extends AbstractSieveBlockEntity impleme
|
||||||
super(EBlockEntities.MECHANICAL_SIEVE.get(), pos, state, owner -> new SieveLogic(owner, false, true));
|
super(EBlockEntities.MECHANICAL_SIEVE.get(), pos, state, owner -> new SieveLogic(owner, false, true));
|
||||||
|
|
||||||
this.inventory = new ItemHandler(22);
|
this.inventory = new ItemHandler(22);
|
||||||
this.energy = new EnergyHelper(40000);
|
this.energy = new EnergyHelper(EConfig.SERVER.mechanicalSieveEnergyStorage.get());
|
||||||
|
|
||||||
this.capabilityInventory = LazyOptional.of(() -> this.inventory);
|
this.capabilityInventory = LazyOptional.of(() -> this.inventory);
|
||||||
this.capabilityEnergy = LazyOptional.of(() -> this.energy);
|
this.capabilityEnergy = LazyOptional.of(() -> this.energy);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user