diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-12-01 15:03:07 -0500 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-12-01 15:03:07 -0500 |
commit | 273f8c28f1a2c7f6f3cf0acc9f3e8ca941ed5f89 (patch) | |
tree | 2b425cf737c953e78257a176255746fb603a7f29 /src/main/java | |
parent | 60f65ce8ad7be0b4fb8451ade6b1d4de7f5acc8e (diff) | |
download | SkyblockMod-273f8c28f1a2c7f6f3cf0acc9f3e8ca941ed5f89.tar.gz SkyblockMod-273f8c28f1a2c7f6f3cf0acc9f3e8ca941ed5f89.tar.bz2 SkyblockMod-273f8c28f1a2c7f6f3cf0acc9f3e8ca941ed5f89.zip |
Fix terminal solvers not being saved to config
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/me/Danker/gui/PuzzleSolversGui.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/gui/PuzzleSolversGui.java b/src/main/java/me/Danker/gui/PuzzleSolversGui.java index b052b02..6826c56 100644 --- a/src/main/java/me/Danker/gui/PuzzleSolversGui.java +++ b/src/main/java/me/Danker/gui/PuzzleSolversGui.java @@ -112,11 +112,11 @@ public class PuzzleSolversGui extends GuiScreen { water.displayString = "Water Solver: " + Utils.getColouredBoolean(ToggleCommand.waterToggled); } else if (button == startsWith) { ToggleCommand.startsWithToggled = !ToggleCommand.startsWithToggled; - ConfigHandler.writeBooleanConfig("toggle", "StartsWithTerminal", ToggleCommand.startsWithToggled); + ConfigHandler.writeBooleanConfig("toggles", "StartsWithTerminal", ToggleCommand.startsWithToggled); startsWith.displayString = "Starts With Letter Terminal Solver: " + Utils.getColouredBoolean(ToggleCommand.startsWithToggled); } else if (button == selectAll) { ToggleCommand.selectAllToggled = !ToggleCommand.selectAllToggled; - ConfigHandler.writeBooleanConfig("toggle", "SelectAllTerminal", ToggleCommand.selectAllToggled); + ConfigHandler.writeBooleanConfig("toggles", "SelectAllTerminal", ToggleCommand.selectAllToggled); selectAll.displayString = "Select All Color Terminal Solver: " + Utils.getColouredBoolean(ToggleCommand.selectAllToggled); } else if (button == itemFrameOnSeaLanterns) { ToggleCommand.itemFrameOnSeaLanternsToggled = !ToggleCommand.itemFrameOnSeaLanternsToggled; |