aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-17 23:47:58 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-17 23:47:58 +0100
commitc8afe088287457117db6d845c91353873ab755c2 (patch)
treea129b19ebc5aa5fec23740226e44feb22636bbc9 /src/main/java/at/hannibal2
parent65a2c5625f5f07e7c7e354e4a1397282032c9ae0 (diff)
downloadskyhanni-c8afe088287457117db6d845c91353873ab755c2.tar.gz
skyhanni-c8afe088287457117db6d845c91353873ab755c2.tar.bz2
skyhanni-c8afe088287457117db6d845c91353873ab755c2.zip
removed duplicate code
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Storage.java1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
index 8fc4f42e1..c6cc6ef71 100644
--- a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
+++ b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
@@ -658,7 +658,7 @@ class SkyHanniMod {
Runtime.getRuntime().addShutdownHook(Thread {
configManager.saveConfig(ConfigFileType.FEATURES, "shutdown-hook")
})
- repo = RepoManager(configManager.configDirectory)
+ repo = RepoManager(ConfigManager.configDirectory)
try {
repo.loadRepoInformation()
} catch (e: Exception) {
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Storage.java b/src/main/java/at/hannibal2/skyhanni/config/Storage.java
index 7170dde20..b21361b6f 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/Storage.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/Storage.java
@@ -36,6 +36,7 @@ public class Storage {
@Expose
public Float savedMouseSensitivity = .5f;
+ @Deprecated
@Expose
public Map<String, List<String>> knownFeatureToggles = new HashMap<>();