diff options
author | J10a1n15 <45315647+j10a1n15@users.noreply.github.com> | 2024-04-30 12:03:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 12:03:34 +0200 |
commit | ca4e3dcf0bdf78a48131cd2e925b81904cd86a4b (patch) | |
tree | ae14c27225913b2c077aa4d949721fe602a7e815 /src/main/java/at/hannibal2/skyhanni/config | |
parent | c220e8271ab3370ea0f4286bada28fd64cab913f (diff) | |
download | skyhanni-ca4e3dcf0bdf78a48131cd2e925b81904cd86a4b.tar.gz skyhanni-ca4e3dcf0bdf78a48131cd2e925b81904cd86a4b.tar.bz2 skyhanni-ca4e3dcf0bdf78a48131cd2e925b81904cd86a4b.zip |
Fix: SkyHanni forcing Vanilla Scoreboard to show while using Apec (#1592)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/gui/customscoreboard/CustomScoreboardConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/gui/customscoreboard/CustomScoreboardConfig.java index 126d4646e..b6151bd85 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/gui/customscoreboard/CustomScoreboardConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/gui/customscoreboard/CustomScoreboardConfig.java @@ -9,6 +9,7 @@ import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDraggableList; import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; +import io.github.notenoughupdates.moulconfig.observer.Property; import java.util.ArrayList; import java.util.List; @@ -21,7 +22,7 @@ public class CustomScoreboardConfig { ) @ConfigEditorBoolean @FeatureToggle - public boolean enabled = false; + public Property<Boolean> enabled = Property.of(false); @Expose @ConfigOption( diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/gui/customscoreboard/DisplayConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/gui/customscoreboard/DisplayConfig.java index 1c04dacd6..30008a0d2 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/gui/customscoreboard/DisplayConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/gui/customscoreboard/DisplayConfig.java @@ -7,6 +7,7 @@ import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDropdown; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; +import io.github.notenoughupdates.moulconfig.observer.Property; public class DisplayConfig { @@ -51,7 +52,7 @@ public class DisplayConfig { "\nĀ§cUsing mods that add their own scoreboard will not be affected by this setting!") @ConfigEditorBoolean @FeatureToggle - public boolean hideVanillaScoreboard = true; + public Property<Boolean> hideVanillaScoreboard = Property.of(true); @Expose @ConfigOption(name = "Display Numbers First", desc = "Determines whether the number or line name displays first. " + |