diff options
author | olim <bobq4582@gmail.com> | 2024-01-30 19:30:10 +0000 |
---|---|---|
committer | olim <bobq4582@gmail.com> | 2024-01-30 19:30:10 +0000 |
commit | bc5cf9a37e4241096bd5ec1b2491ad71281593ff (patch) | |
tree | baa6bcf4c7b48ee9e3db4559e2f43e825708e60d /src/main/java/de/hysky/skyblocker/config | |
parent | 51b7043abab1d91beb4f0dabec6b9ffe8ca7b1bf (diff) | |
download | Skyblocker-bc5cf9a37e4241096bd5ec1b2491ad71281593ff.tar.gz Skyblocker-bc5cf9a37e4241096bd5ec1b2491ad71281593ff.tar.bz2 Skyblocker-bc5cf9a37e4241096bd5ec1b2491ad71281593ff.zip |
fixed cwords from chat
fixed not being able to get coordinates from chat by using the correct ClientReceiveMessageEvent of GAME instead of CHAT
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/config')
-rw-r--r-- | src/main/java/de/hysky/skyblocker/config/categories/DwarvenMinesCategory.java | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/main/java/de/hysky/skyblocker/config/categories/DwarvenMinesCategory.java b/src/main/java/de/hysky/skyblocker/config/categories/DwarvenMinesCategory.java index 7581af4f..c575616a 100644 --- a/src/main/java/de/hysky/skyblocker/config/categories/DwarvenMinesCategory.java +++ b/src/main/java/de/hysky/skyblocker/config/categories/DwarvenMinesCategory.java @@ -46,10 +46,10 @@ public class DwarvenMinesCategory { .name(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.dwarvenHud")) .collapsed(false) .option(Option.<Boolean>createBuilder() - .name(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.dwarvenHud.enabled")) - .binding(defaults.locations.dwarvenMines.dwarvenHud.enabled, - () -> config.locations.dwarvenMines.dwarvenHud.enabled, - newValue -> config.locations.dwarvenMines.dwarvenHud.enabled = newValue) + .name(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.dwarvenHud.enabled"))//todo seperate coms and powder + .binding(defaults.locations.dwarvenMines.dwarvenHud.enabledCommissions, + () -> config.locations.dwarvenMines.dwarvenHud.enabledCommissions, + newValue -> config.locations.dwarvenMines.dwarvenHud.enabledCommissions = newValue) .controller(ConfigUtils::createBooleanController) .build()) .option(Option.<SkyblockerConfig.DwarvenHudStyle>createBuilder() @@ -92,13 +92,6 @@ public class DwarvenMinesCategory { .action((screen, opt) -> MinecraftClient.getInstance().setScreen(new CrystalsHudConfigScreen(screen))) .build()) .option(Option.<Boolean>createBuilder() - .name(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.dwarvenHud.enableBackground")) - .binding(defaults.locations.dwarvenMines.crystalsHud.enableBackground, - () -> config.locations.dwarvenMines.crystalsHud.enableBackground, - newValue -> config.locations.dwarvenMines.crystalsHud.enableBackground = newValue) - .controller(ConfigUtils::createBooleanController) - .build()) - .option(Option.<Boolean>createBuilder() .name(Text.translatable("text.autoconfig.skyblocker.option.locations.dwarvenMines.crystalsHud.showLocations")) .binding(defaults.locations.dwarvenMines.crystalsHud.showLocations, () -> config.locations.dwarvenMines.crystalsHud.showLocations, |