From 159ed76251de5c7674956ebf153298f02f09477c Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 23 Sep 2023 13:28:13 +0200 Subject: removing crimsonIsleLatestTrophyFishInInventory --- src/main/java/at/hannibal2/skyhanni/config/Storage.java | 5 +---- src/main/java/at/hannibal2/skyhanni/config/features/OldHidden.java | 3 --- src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt | 1 - .../features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt | 5 ----- 4 files changed, 1 insertion(+), 13 deletions(-) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/config/Storage.java b/src/main/java/at/hannibal2/skyhanni/config/Storage.java index 3c3d0d130..0fc83a5b8 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Storage.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Storage.java @@ -10,8 +10,8 @@ import at.hannibal2.skyhanni.features.garden.visitor.VisitorReward; import at.hannibal2.skyhanni.features.misc.EnderNode; import at.hannibal2.skyhanni.features.misc.FrozenTreasure; import at.hannibal2.skyhanni.features.misc.ghostcounter.GhostData; -import at.hannibal2.skyhanni.features.misc.trevor.TrevorTracker; import at.hannibal2.skyhanni.features.misc.powdertracker.PowderChestReward; +import at.hannibal2.skyhanni.features.misc.trevor.TrevorTracker; import at.hannibal2.skyhanni.features.rift.area.westvillage.KloonTerminal; import at.hannibal2.skyhanni.utils.LorenzVec; import at.hannibal2.skyhanni.utils.NEUInternalName; @@ -88,9 +88,6 @@ public class Storage { @Expose public List quests = new ArrayList<>(); - @Expose - public int latestTrophyFishInInventory = 0; - @Expose public List miniBossesDoneToday = new ArrayList<>(); 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 9e6cf0edf..a2694210f 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/OldHidden.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/OldHidden.java @@ -26,9 +26,6 @@ public class OldHidden { @Expose public List crimsonIsleQuests = new ArrayList<>(); - @Expose - public int crimsonIsleLatestTrophyFishInInventory = 0; - @Expose public List crimsonIsleMiniBossesDoneToday = new ArrayList<>(); diff --git a/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt b/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt index b4ad1d1af..e80675c43 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt @@ -149,7 +149,6 @@ object ProfileStorageData { profileSpecific?.crimsonIsle?.let { it.quests = oldHidden.crimsonIsleQuests - it.latestTrophyFishInInventory = oldHidden.crimsonIsleLatestTrophyFishInInventory it.miniBossesDoneToday = oldHidden.crimsonIsleMiniBossesDoneToday it.kuudraTiersDone = oldHidden.crimsonIsleKuudraTiersDone } diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt index 6be7eae2e..76381a00a 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt @@ -30,7 +30,6 @@ class DailyQuestHelper(val reputationHelper: CrimsonIsleReputationHelper) { private val questLoader = QuestLoader(this) val quests = mutableListOf() private val sacksCache = mutableMapOf() - private var latestTrophyFishInInventory = 0 @SubscribeEvent @@ -293,14 +292,12 @@ class DailyQuestHelper(val reputationHelper: CrimsonIsleReputationHelper) { fun reset() { quests.clear() - latestTrophyFishInInventory = 0 } fun load(storage: Storage.ProfileSpecific.CrimsonIsleStorage) { reset() questLoader.loadConfig(storage) - latestTrophyFishInInventory = storage.latestTrophyFishInInventory } @@ -327,8 +324,6 @@ class DailyQuestHelper(val reputationHelper: CrimsonIsleReputationHelper) { } storage.quests.add(builder.toString()) } - - storage.latestTrophyFishInInventory = latestTrophyFishInInventory } private fun isEnabled() = IslandType.CRIMSON_ISLE.isInIsland() && reputationHelper.config.enabled -- cgit