From d99528b34b6f7afed380c6c655ecc461e0082d46 Mon Sep 17 00:00:00 2001 From: Aiden Powers Date: Mon, 5 Aug 2024 11:22:12 -0700 Subject: [PATCH] Added description to hideEmptyTooltips option. (#893) --- .../hysky/skyblocker/config/categories/UIAndVisualsCategory.java | 1 + src/main/resources/assets/skyblocker/lang/en_us.json | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/de/hysky/skyblocker/config/categories/UIAndVisualsCategory.java b/src/main/java/de/hysky/skyblocker/config/categories/UIAndVisualsCategory.java index 889b253a94..fa9bf37648 100644 --- a/src/main/java/de/hysky/skyblocker/config/categories/UIAndVisualsCategory.java +++ b/src/main/java/de/hysky/skyblocker/config/categories/UIAndVisualsCategory.java @@ -49,6 +49,7 @@ public static ConfigCategory create(SkyblockerConfig defaults, SkyblockerConfig .build()) .option(Option.createBuilder() .name(Text.translatable("skyblocker.config.uiAndVisuals.hideEmptyTooltips")) + .description(OptionDescription.of(Text.translatable("skyblocker.config.uiAndVisuals.hideEmptyTooltips.@Tooltip"))) .binding(defaults.uiAndVisuals.hideEmptyTooltips, () -> config.uiAndVisuals.hideEmptyTooltips, newValue -> config.uiAndVisuals.hideEmptyTooltips = newValue) diff --git a/src/main/resources/assets/skyblocker/lang/en_us.json b/src/main/resources/assets/skyblocker/lang/en_us.json index 1f03f1f0ef..08adf74b42 100644 --- a/src/main/resources/assets/skyblocker/lang/en_us.json +++ b/src/main/resources/assets/skyblocker/lang/en_us.json @@ -228,6 +228,7 @@ "skyblocker.config.general.acceptReparty": "Auto accept Reparty", "skyblocker.config.uiAndVisuals.hideEmptyTooltips": "Hide empty item tooltips in menus", + "skyblocker.config.uiAndVisuals.hideEmptyTooltips.@Tooltip": "Hides the tooltip of an item if it doesn't have any information to display. Also blocks clicks on filler items like glass panes.", "skyblocker.config.general.hitbox": "Hitboxes", "skyblocker.config.general.hitbox.oldFarmlandHitbox": "Enable 1.8 farmland hitbox",