Skip to content

Commit 0be20e5

Browse files
authored
Merge pull request #423 from Luka-io/1.21.1
Fix Crash
2 parents b918c57 + 4ee45f0 commit 0be20e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/electrodynamics/common/tile/machines/quarry/TileQuarry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ private boolean mineBlock(BlockPos pos, BlockState state, float strength, Level
593593
// responsible for clearing initial obstructions from the mining area
594594
private void clearArea() {
595595
ComponentElectrodynamic electro = getComponent(IComponentType.Electrodynamic);
596-
setupPowerUsage.setValue(ElectrodynamicsConfig.INSTANCE.QUARRY_USAGE_PER_TICK);
596+
setupPowerUsage.setValue(ElectrodynamicsConfig.INSTANCE.QUARRY_USAGE_PER_TICK.get());
597597
isPowered.setValue(electro.getJoulesStored() >= setupPowerUsage.getValue());
598598
if (hasCorners() && isPowered.getValue()) {
599599
Level world = getLevel();

0 commit comments

Comments
 (0)