aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/gui/DankerGui.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2021-02-22 18:03:59 -0500
committerbowser0000 <bowser0000@gmail.com>2021-02-22 18:03:59 -0500
commite5867ce13151e6689b5b4097fef610fe30650607 (patch)
tree178e15eb18898c366b5707a478fe0703c254bb4e /src/main/java/me/Danker/gui/DankerGui.java
parent39fd27efe81309f4c7ecda700f76a17a1e34a729 (diff)
downloadSkyblockMod-e5867ce13151e6689b5b4097fef610fe30650607.tar.gz
SkyblockMod-e5867ce13151e6689b5b4097fef610fe30650607.tar.bz2
SkyblockMod-e5867ce13151e6689b5b4097fef610fe30650607.zip
Remove broken feature
Diffstat (limited to 'src/main/java/me/Danker/gui/DankerGui.java')
-rw-r--r--src/main/java/me/Danker/gui/DankerGui.java11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/main/java/me/Danker/gui/DankerGui.java b/src/main/java/me/Danker/gui/DankerGui.java
index 57d0292..90aa5e5 100644
--- a/src/main/java/me/Danker/gui/DankerGui.java
+++ b/src/main/java/me/Danker/gui/DankerGui.java
@@ -65,7 +65,6 @@ public class DankerGui extends GuiScreen {
private GuiButton notifySlayerSlain;
private GuiButton necronNotifications;
private GuiButton bonzoTimer;
- private GuiButton blockBreakingFarms;
private GuiButton autoSkillTracker;
public DankerGui(int page) {
@@ -136,8 +135,7 @@ public class DankerGui extends GuiScreen {
//Page 6
necronNotifications = new GuiButton(0, width / 2 - 100, (int) (height * 0.1), "Necron Phase Notifications: " + Utils.getColouredBoolean(ToggleCommand.necronNotificationsToggled));
bonzoTimer = new GuiButton(0, width / 2 - 100, (int) (height * 0.2), "Bonzo's Mask Timer: " + Utils.getColouredBoolean(ToggleCommand.bonzoTimerToggled));
- blockBreakingFarms = new GuiButton(0, width / 2 - 100, (int) (height * 0.3), "Prevent Breaking Farms: " + Utils.getColouredBoolean(ToggleCommand.blockBreakingFarmsToggled));
- autoSkillTracker = new GuiButton(0, width / 2 - 100, (int) (height * 0.4), "Auto Start/Stop Skill Tracker: " + Utils.getColouredBoolean(ToggleCommand.autoSkillTrackerToggled));
+ autoSkillTracker = new GuiButton(0, width / 2 - 100, (int) (height * 0.3), "Auto Start/Stop Skill Tracker: " + Utils.getColouredBoolean(ToggleCommand.autoSkillTrackerToggled));
switch (page) {
case 1:
@@ -195,9 +193,8 @@ public class DankerGui extends GuiScreen {
this.buttonList.add(backPage);
break;
case 6:
- this.buttonList.add(necronNotifications);
+ this.buttonList.add(necronNotifications);
this.buttonList.add(bonzoTimer);
- this.buttonList.add(blockBreakingFarms);
this.buttonList.add(autoSkillTracker);
this.buttonList.add(backPage);
break;
@@ -370,10 +367,6 @@ public class DankerGui extends GuiScreen {
ToggleCommand.bonzoTimerToggled = !ToggleCommand.bonzoTimerToggled;
ConfigHandler.writeBooleanConfig("toggles", "BonzoTimer", ToggleCommand.bonzoTimerToggled);
bonzoTimer.displayString = "Bonzo's Mask Timer: " + Utils.getColouredBoolean(ToggleCommand.bonzoTimerToggled);
- } else if (button == blockBreakingFarms) {
- ToggleCommand.blockBreakingFarmsToggled = !ToggleCommand.blockBreakingFarmsToggled;
- ConfigHandler.writeBooleanConfig("toggles", "BlockBreakingFarms", ToggleCommand.blockBreakingFarmsToggled);
- blockBreakingFarms.displayString = "Prevent Breaking Farms: " + Utils.getColouredBoolean(ToggleCommand.blockBreakingFarmsToggled);
} else if (button == pickBlock) {
ToggleCommand.swapToPickBlockToggled = !ToggleCommand.swapToPickBlockToggled;
ConfigHandler.writeBooleanConfig("toggles", "PickBlock", ToggleCommand.swapToPickBlockToggled);