From aa66440e8c91d0c9383217e88360830dc9748deb Mon Sep 17 00:00:00 2001 From: thedarkcolour <30441001+thedarkcolour@users.noreply.github.com> Date: Sat, 13 Jan 2024 11:06:53 -0800 Subject: [PATCH] Fixed mechanical sieve energy storage config option being ignored --- .../exdeorum/blockentity/MechanicalSieveBlockEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/thedarkcolour/exdeorum/blockentity/MechanicalSieveBlockEntity.java b/src/main/java/thedarkcolour/exdeorum/blockentity/MechanicalSieveBlockEntity.java index cfec52a1..3fdbca2e 100644 --- a/src/main/java/thedarkcolour/exdeorum/blockentity/MechanicalSieveBlockEntity.java +++ b/src/main/java/thedarkcolour/exdeorum/blockentity/MechanicalSieveBlockEntity.java @@ -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);