From 84aa28c0e34e16b6a51efc6e667abfe6dd5dd269 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Tue, 15 Aug 2023 19:01:23 +0200 Subject: removed api key from config --- src/main/java/at/hannibal2/skyhanni/config/Storage.java | 3 --- src/main/java/at/hannibal2/skyhanni/config/features/OldHidden.java | 3 --- src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt | 2 -- 3 files changed, 8 deletions(-) diff --git a/src/main/java/at/hannibal2/skyhanni/config/Storage.java b/src/main/java/at/hannibal2/skyhanni/config/Storage.java index 19322e15c..871238831 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Storage.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Storage.java @@ -23,9 +23,6 @@ public class Storage { @Expose public Map> gardenJacobFarmingContestTimes = new HashMap<>(); - @Expose - public String apiKey = ""; - @Expose public Map players = 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 23de8abe9..9e6cf0edf 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/OldHidden.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/OldHidden.java @@ -14,9 +14,6 @@ import java.util.Map; public class OldHidden { - @Expose - public String apiKey = ""; - @Expose public String currentPet = ""; diff --git a/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt b/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt index b69afe21a..f9eb6b024 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/ProfileStorageData.kt @@ -107,8 +107,6 @@ object ProfileStorageData { val oldHidden = SkyHanniMod.feature.hidden if (oldHidden.isMigrated) return - SkyHanniMod.feature.storage.apiKey = oldHidden.apiKey - SkyHanniMod.feature.storage?.let { it.gardenJacobFarmingContestTimes = oldHidden.gardenJacobFarmingContestTimes } -- cgit