aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-23 13:28:13 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-23 13:28:13 +0200
commit159ed76251de5c7674956ebf153298f02f09477c (patch)
treea8fcecdff688cfaf17cc51923a21e413e48d559d /src
parente3fb64e83b9c1e6ffea03ac1b30099eec5e4dfe3 (diff)
downloadskyhanni-159ed76251de5c7674956ebf153298f02f09477c.tar.gz
skyhanni-159ed76251de5c7674956ebf153298f02f09477c.tar.bz2
skyhanni-159ed76251de5c7674956ebf153298f02f09477c.zip
removing crimsonIsleLatestTrophyFishInInventory
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Storage.java5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/OldHidden.java3
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt5
4 files changed, 1 insertions, 13 deletions
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;
@@ -89,9 +89,6 @@ public class Storage {
public List<String> quests = new ArrayList<>();
@Expose
- public int latestTrophyFishInInventory = 0;
-
- @Expose
public List<String> miniBossesDoneToday = new ArrayList<>();
@Expose
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
@@ -27,9 +27,6 @@ public class OldHidden {
public List<String> crimsonIsleQuests = new ArrayList<>();
@Expose
- public int crimsonIsleLatestTrophyFishInInventory = 0;
-
- @Expose
public List<String> crimsonIsleMiniBossesDoneToday = new ArrayList<>();
@Expose
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<Quest>()
private val sacksCache = mutableMapOf<String, Long>()
- 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