diff --git a/src/main/java/fi/dy/masa/tweakeroo/config/ConfigBooleanClient.java b/src/main/java/fi/dy/masa/tweakeroo/config/ConfigBooleanClient.java index 19be34a70..465edaae7 100644 --- a/src/main/java/fi/dy/masa/tweakeroo/config/ConfigBooleanClient.java +++ b/src/main/java/fi/dy/masa/tweakeroo/config/ConfigBooleanClient.java @@ -4,6 +4,8 @@ import fi.dy.masa.malilib.gui.GuiBase; import fi.dy.masa.malilib.util.StringUtils; +import java.util.Objects; + public class ConfigBooleanClient extends ConfigBooleanHotkeyed { public ConfigBooleanClient(String name, boolean defaultValue, String defaultHotkey, String comment) @@ -19,8 +21,8 @@ public ConfigBooleanClient(String name, boolean defaultValue, String defaultHotk @Override public String getComment() { - String comment = super.getComment(); - +// String comment = super.getComment(); + String comment = StringUtils.getTranslatedOrFallback(Objects.requireNonNull(super.getComment()), super.getComment()); if (comment == null) { return "";