aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-10 10:40:06 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-10 10:40:06 +0200
commitd1e04ac013791113f1abf7fa7c64a047f92b1f15 (patch)
treef7c17a07b8b78d412bfbce2177105e851b665eea /src/main/java/at/hannibal2/skyhanni/config
parent522ccb4d14781ebbfe603d299986f85b95341107 (diff)
downloadskyhanni-d1e04ac013791113f1abf7fa7c64a047f92b1f15.tar.gz
skyhanni-d1e04ac013791113f1abf7fa7c64a047f92b1f15.tar.bz2
skyhanni-d1e04ac013791113f1abf7fa7c64a047f92b1f15.zip
Reading/writing farming armor drops directly from and to config
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Storage.java3
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/OldHidden.java3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Storage.java b/src/main/java/at/hannibal2/skyhanni/config/Storage.java
index f5e6bdce2..21ebef73b 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/Storage.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/Storage.java
@@ -4,6 +4,7 @@ import at.hannibal2.skyhanni.data.model.ComposterUpgrade;
import at.hannibal2.skyhanni.features.fishing.trophy.TrophyRarity;
import at.hannibal2.skyhanni.features.garden.CropAccessory;
import at.hannibal2.skyhanni.features.garden.CropType;
+import at.hannibal2.skyhanni.features.garden.farming.FarmingArmorDrops;
import at.hannibal2.skyhanni.features.garden.fortuneguide.FarmingItems;
import at.hannibal2.skyhanni.features.garden.visitor.VisitorReward;
import at.hannibal2.skyhanni.features.misc.EnderNode;
@@ -128,7 +129,7 @@ public class Storage {
public long nextSixthVisitorArrival = 0;
@Expose
- public Map<String, Integer> farmArmorDrops = new HashMap<>();
+ public Map<FarmingArmorDrops.ArmorDropType, Integer> farmArmorDrops = new HashMap<>();
@Expose
public Map<ComposterUpgrade, Integer> composterUpgrades = new HashMap<>();
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/OldHidden.java b/src/main/java/at/hannibal2/skyhanni/config/features/OldHidden.java
index fbb59156d..23de8abe9 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/OldHidden.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/OldHidden.java
@@ -3,6 +3,7 @@ package at.hannibal2.skyhanni.config.features;
import at.hannibal2.skyhanni.data.model.ComposterUpgrade;
import at.hannibal2.skyhanni.features.garden.CropAccessory;
import at.hannibal2.skyhanni.features.garden.CropType;
+import at.hannibal2.skyhanni.features.garden.farming.FarmingArmorDrops;
import at.hannibal2.skyhanni.features.garden.visitor.VisitorReward;
import com.google.gson.annotations.Expose;
@@ -77,7 +78,7 @@ public class OldHidden {
public Map<Long, List<CropType>> gardenJacobFarmingContestTimes = new HashMap<>();
@Expose
- public Map<String, Integer> gardenFarmingArmorDrops = new HashMap<>();
+ public Map<FarmingArmorDrops.ArmorDropType, Integer> gardenFarmingArmorDrops = new HashMap<>();
@Expose
public Map<ComposterUpgrade, Integer> gardenComposterUpgrades = new HashMap<>();