diff options
author | Kal Draganov <kaldraganov05@gmail.com> | 2020-12-14 18:49:29 -0500 |
---|---|---|
committer | Kal Draganov <kaldraganov05@gmail.com> | 2020-12-14 18:49:29 -0500 |
commit | eb4bf8a8191add4fd50dbc0daa088ec42bf8eb6d (patch) | |
tree | 4dca2e385d5b3cb8b05d68d3de80272d7becfc5a /src/main/java/me/Danker/gui/DisplayGui.java | |
parent | b70f675ade304a08ba85d4c3fce6809198cc3825 (diff) | |
download | SkyblockMod-eb4bf8a8191add4fd50dbc0daa088ec42bf8eb6d.tar.gz SkyblockMod-eb4bf8a8191add4fd50dbc0daa088ec42bf8eb6d.tar.bz2 SkyblockMod-eb4bf8a8191add4fd50dbc0daa088ec42bf8eb6d.zip |
Move EditLocations Button to Main
Moved editLocations GUI button to the main pages.
Diffstat (limited to 'src/main/java/me/Danker/gui/DisplayGui.java')
-rw-r--r-- | src/main/java/me/Danker/gui/DisplayGui.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/java/me/Danker/gui/DisplayGui.java b/src/main/java/me/Danker/gui/DisplayGui.java index f498a67..2f704b3 100644 --- a/src/main/java/me/Danker/gui/DisplayGui.java +++ b/src/main/java/me/Danker/gui/DisplayGui.java @@ -15,7 +15,6 @@ public class DisplayGui extends GuiScreen { private boolean addSession = false; private GuiButton goBack; - private GuiButton editLocations; private GuiButton off; private GuiButton showSession; private GuiButton zombie; @@ -49,7 +48,6 @@ public class DisplayGui extends GuiScreen { int width = sr.getScaledWidth(); goBack = new GuiButton(0, 2, height - 30, 100, 20, "Go Back"); - editLocations = new GuiButton(0, 2, height - 55, 100, 20, "Edit Locations"); showSession = new GuiButton(0, width / 2 - 100, (int) (height * 0.1), "Current Session Only: " + Utils.getColouredBoolean(addSession)); off = new GuiButton(0, width / 2 - 210, (int) (height * 0.2), "Off"); auto = new GuiButton(0, width / 2 + 10, (int) (height * 0.2), "Auto"); @@ -87,7 +85,6 @@ public class DisplayGui extends GuiScreen { this.buttonList.add(catacombsF5); this.buttonList.add(catacombsF6); this.buttonList.add(catacombsF7); - this.buttonList.add(editLocations); this.buttonList.add(goBack); } @@ -116,8 +113,6 @@ public class DisplayGui extends GuiScreen { public void actionPerformed(GuiButton button) { if (button == goBack) { DankersSkyblockMod.guiToOpen = "dankergui1"; - } else if (button == editLocations) { - DankersSkyblockMod.guiToOpen = "editlocations"; } else if (button == showSession) { addSession = !addSession; showSession.displayString = "Current Session Only: " + Utils.getColouredBoolean(addSession); |