From 2d7f707c2c7ee59ef76f39171f91d7872e83f028 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 29 Feb 2024 22:27:01 +0100 Subject: Moved "max items with purse" into bazaar config --- .../skyhanni/config/features/bazaar/BazaarConfig.java | 9 +++++++++ .../skyhanni/config/features/inventory/InventoryConfig.java | 11 +---------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/config') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/bazaar/BazaarConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/bazaar/BazaarConfig.java index 515255e4b..cdac05e02 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/bazaar/BazaarConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/bazaar/BazaarConfig.java @@ -40,4 +40,13 @@ public class BazaarConfig { @ConfigEditorBoolean @FeatureToggle public boolean openPriceWebsite = false; + + @Expose + @ConfigOption(name = "Max Items With Purse", desc = "Calculates the maximum amount of items that can be purchased from the Bazaar with the amount of coins in your purse.") + @ConfigEditorBoolean + @FeatureToggle + public boolean maxPurseItems = false; + + @Expose + public Position maxPurseItemsPosition = new Position(346, 90, true, false); } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java index 6c905889f..82235a828 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java @@ -2,7 +2,6 @@ package at.hannibal2.skyhanni.config.features.inventory; import at.hannibal2.skyhanni.config.FeatureToggle; import at.hannibal2.skyhanni.config.HasLegacyId; -import at.hannibal2.skyhanni.config.core.config.Position; import at.hannibal2.skyhanni.config.features.inventory.helper.HelperConfig; import com.google.gson.annotations.Expose; import io.github.moulberry.moulconfig.annotations.Accordion; @@ -10,6 +9,7 @@ import io.github.moulberry.moulconfig.annotations.Category; import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean; import io.github.moulberry.moulconfig.annotations.ConfigEditorDraggableList; import io.github.moulberry.moulconfig.annotations.ConfigOption; + import java.util.ArrayList; import java.util.Arrays; import java.util.List; @@ -199,15 +199,6 @@ public class InventoryConfig { @ConfigEditorBoolean @FeatureToggle public boolean shiftClickForEquipment = false; - - @Expose - @ConfigOption(name = "Max Items With Purse", desc = "Calculates the maximum amount of items that can be purchased from the Bazaar for the amount of coins in your purse.") - @ConfigEditorBoolean - @FeatureToggle - public boolean maxPurseItems = false; - - @Expose - public Position purseItemsPos = new Position(346, 90, true, false); @Expose @ConfigOption(name = "Shift Click NPC sell", desc = "Makes normal clicks to shift clicks in npc inventory for selling.") -- cgit