From 96a24db2ac23dcb4235bfddccf29b21e4eadf2b5 Mon Sep 17 00:00:00 2001 From: MisterCheezeCake <75341435+MisterCheezeCake@users.noreply.github.com> Date: Sun, 25 Aug 2024 17:25:06 -0400 Subject: [PATCH] Never Trust Intelij --- src/main/java/wtf/cheeze/sbt/features/huds/SkillHUD.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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();