From 7c488b9741ca089e4419a5cc1ea44bad99ae6cea Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 6 Jul 2024 10:52:25 +0200 Subject: resetting estimated item value cache on config update --- .../config/features/misc/EstimatedItemValueConfig.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config/features') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/misc/EstimatedItemValueConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/misc/EstimatedItemValueConfig.java index dcbb65d15..10d97ebfd 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/misc/EstimatedItemValueConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/misc/EstimatedItemValueConfig.java @@ -41,7 +41,7 @@ public class EstimatedItemValueConfig { @Expose @ConfigOption(name = "Show Exact Price", desc = "Show the exact total price instead of the compact number.") @ConfigEditorBoolean - public boolean exactPrice = false; + public Property exactPrice = Property.of(false); @Expose @ConfigOption(name = "Show Armor Value", desc = "Show the value of the full armor set in the Wardrobe inventory.") @@ -52,22 +52,22 @@ public class EstimatedItemValueConfig { @Expose @ConfigOption(name = "Ignore Helmet Skins", desc = "Ignore helmet Skins from the total value.") @ConfigEditorBoolean - public boolean ignoreHelmetSkins = false; + public Property ignoreHelmetSkins = Property.of(false); @Expose @ConfigOption(name = "Ignore Armor Dyes", desc = "Ignore Armor Dyes from the total value.") @ConfigEditorBoolean - public boolean ignoreArmorDyes = false; + public Property ignoreArmorDyes = Property.of(false); @Expose @ConfigOption(name = "Ignore Runes", desc = "Ignore Runes from the total value.") @ConfigEditorBoolean - public boolean ignoreRunes = false; + public Property ignoreRunes = Property.of(false); @Expose @ConfigOption(name = "Bazaar Price Source", desc = "Use Instant Buy or Buy Order.") @ConfigEditorDropdown - public BazaarPriceSource bazaarPriceSource = BazaarPriceSource.BUY_ORDER; + public Property bazaarPriceSource = Property.of(BazaarPriceSource.BUY_ORDER); public enum BazaarPriceSource { INSTANT_BUY("Instant Buy"), @@ -92,7 +92,7 @@ public class EstimatedItemValueConfig { "This will drastically decrease the estimated value but might be correct when buying multiple low tier items and combining them." ) @ConfigEditorBoolean - public boolean useAttributeComposite = false; + public Property useAttributeComposite = Property.of(false); @Expose @ConfigLink(owner = EstimatedItemValueConfig.class, field = "enabled") -- cgit