From dd6cb9b03b17a7ba1bfc86ec919d681699bfbaa4 Mon Sep 17 00:00:00 2001 From: AnAwesomGuy <79700396+AnAwesomGuy@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:35:24 +0800 Subject: [PATCH] i should really get a config lib wtf --- .../java/net/anawesomguy/breakingbedrock/BreakingBedrock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/net/anawesomguy/breakingbedrock/BreakingBedrock.java b/common/src/main/java/net/anawesomguy/breakingbedrock/BreakingBedrock.java index b3dfd61..5ec85cf 100644 --- a/common/src/main/java/net/anawesomguy/breakingbedrock/BreakingBedrock.java +++ b/common/src/main/java/net/anawesomguy/breakingbedrock/BreakingBedrock.java @@ -45,7 +45,7 @@ public final class BreakingBedrock { properties.setProperty("mining_level", "4"); miningLevel = 4; LOGGER.debug("Correcting invalid config value {}!", level); - } else properties.setProperty("mining_level", resist); + } else properties.setProperty("mining_level", level); } catch (IOException | IllegalArgumentException e) { LOGGER.info("Couldn't read config file (likely corrupted or missing)! Attempting to (re)create it."); properties.setProperty("destroy_time", "100");