aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/handlers
diff options
context:
space:
mode:
authorMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2020-12-19 11:22:32 -0500
committerMy-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>2020-12-19 11:22:32 -0500
commit6143fa32651bebd85afa46d8f8a4eeaea9fee595 (patch)
treebda789abb3fc4dad9506ef18b18f11617734f2fe /src/main/java/me/Danker/handlers
parent5805888e0c1dea9602122595cf74b35bf90d696d (diff)
downloadSkyblockMod-6143fa32651bebd85afa46d8f8a4eeaea9fee595.tar.gz
SkyblockMod-6143fa32651bebd85afa46d8f8a4eeaea9fee595.tar.bz2
SkyblockMod-6143fa32651bebd85afa46d8f8a4eeaea9fee595.zip
Feat: Prevent Breaking Farms
Diffstat (limited to 'src/main/java/me/Danker/handlers')
-rw-r--r--src/main/java/me/Danker/handlers/ConfigHandler.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java
index 2822738..3d1855e 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -198,6 +198,7 @@ public class ConfigHandler {
if (!hasKey("toggles", "NotifySlayerSlain")) writeBooleanConfig("toggles", "NotifySlayerSlain", false);
if (!hasKey("toggles", "NecronNotifications")) writeBooleanConfig("toggles", "NecronNotifications", false);
if (!hasKey("toggles", "BonzoTimer")) writeBooleanConfig("toggles", "BonzoTimer", false);
+ if (!hasKey("toggles", "BlockBreakingFarms")) writeBooleanConfig("toggles", "BlockBreakingFarms", true);
// Puzzle Solvers
@@ -475,6 +476,7 @@ public class ConfigHandler {
ToggleCommand.notifySlayerSlainToggled = getBoolean("toggles", "NotifySlayerSlain");
ToggleCommand.necronNotificationsToggled = getBoolean("toggles", "NecronNotifications");
ToggleCommand.bonzoTimerToggled = getBoolean("toggles", "BonzoTimer");
+ ToggleCommand.blockBreakingFarmsToggled = getBoolean("toggles", "BlockBreakingFarms");
ToggleCommand.swapToPickBlockToggled = getBoolean("toggles", "PickBlock");
ToggleCommand.flowerWeaponsToggled = getBoolean("toggles", "FlowerWeapons");