Fixed mechanical sieve energy storage config option being ignored

This commit is contained in:
thedarkcolour 2024-01-13 11:06:53 -08:00
parent 0346a29ed4
commit aa66440e8c

View File

@ -75,7 +75,7 @@ public class MechanicalSieveBlockEntity extends AbstractSieveBlockEntity impleme
super(EBlockEntities.MECHANICAL_SIEVE.get(), pos, state, owner -> new SieveLogic(owner, false, true));
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.capabilityEnergy = LazyOptional.of(() -> this.energy);