aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-04-15 18:37:22 +0200
committerGitHub <noreply@github.com>2024-04-15 18:37:22 +0200
commit15e454fbf1b88611025317d318c9224cdf9db9f4 (patch)
treecb9100efcc3c88d8a7e9be74c76a568753df3b98 /src/main/java/at/hannibal2/skyhanni/config/features
parent66b98b62ec0ef0aa56d47af48131d661d43de579 (diff)
downloadskyhanni-15e454fbf1b88611025317d318c9224cdf9db9f4.tar.gz
skyhanni-15e454fbf1b88611025317d318c9224cdf9db9f4.tar.bz2
skyhanni-15e454fbf1b88611025317d318c9224cdf9db9f4.zip
Fix: Fixed Totem of Corruption Overlay not getting cleared on disable (#1449)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/fishing/TotemOfCorruptionConfig.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/TotemOfCorruptionConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/TotemOfCorruptionConfig.java
index a9f125356..923e2a5e5 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/fishing/TotemOfCorruptionConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/fishing/TotemOfCorruptionConfig.java
@@ -9,6 +9,7 @@ import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorDropdown;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider;
import io.github.notenoughupdates.moulconfig.annotations.ConfigLink;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
+import io.github.notenoughupdates.moulconfig.observer.Property;
public class TotemOfCorruptionConfig {
@@ -18,7 +19,7 @@ public class TotemOfCorruptionConfig {
"\n§cThis needs to be enabled for the other options to work.")
@ConfigEditorBoolean
@FeatureToggle
- public boolean showOverlay = true;
+ public Property<Boolean> showOverlay = Property.of(true);
@Expose
@ConfigOption(name = "Distance Threshold", desc = "The minimum distance to the Totem of Corruption for the overlay." +