diff --git a/src/main/java/wtf/cheeze/sbt/features/huds/SkillHUD.java b/src/main/java/wtf/cheeze/sbt/features/huds/SkillHUD.java index ff9d37e..1ca300e 100644 --- a/src/main/java/wtf/cheeze/sbt/features/huds/SkillHUD.java +++ b/src/main/java/wtf/cheeze/sbt/features/huds/SkillHUD.java @@ -238,7 +238,7 @@ public static OptionGroup getGroup(ConfigImpl defaults, ConfigImpl config) { .binding( defaults.huds.skills.enabled, () -> config.huds.skills.enabled, - value -> config.huds.skills.enabled = value + value -> config.huds.skills.enabled = (Boolean) value ) .build(); @@ -260,7 +260,7 @@ public static OptionGroup getGroup(ConfigImpl defaults, ConfigImpl config) { .binding( defaults.huds.skills.actionsLeft, () -> config.huds.skills.actionsLeft, - value -> config.huds.skills.actionsLeft = value + value -> config.huds.skills.actionsLeft = (Boolean) value ) .build(); var abridgeDenominator = Option.createBuilder() @@ -270,7 +270,7 @@ public static OptionGroup getGroup(ConfigImpl defaults, ConfigImpl config) { .binding( defaults.huds.skills.abridgeDenominator, () -> config.huds.skills.abridgeDenominator, - value -> config.huds.skills.abridgeDenominator = value + value -> config.huds.skills.abridgeDenominator = (Boolean) value ) .build();