aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorWalker Selby <git@walkerselby.com>2023-12-11 14:49:05 -0800
committerGitHub <noreply@github.com>2023-12-11 23:49:05 +0100
commit620a072467e5b00ee13f35012531b337c3cc56c7 (patch)
tree7c07d6259e886db8d4d3b7ef28d8c496b455e757 /src/main/java/at/hannibal2/skyhanni/config
parentff99c10c671cb6f594cc7670216328801fce85b4 (diff)
downloadskyhanni-620a072467e5b00ee13f35012531b337c3cc56c7.tar.gz
skyhanni-620a072467e5b00ee13f35012531b337c3cc56c7.tar.bz2
skyhanni-620a072467e5b00ee13f35012531b337c3cc56c7.zip
Migrate Config Value in EliteFarmingWeight (#720)
Migrate Config Value in EliteFarmingWeight. #720
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/garden/EliteFarmingWeightConfig.java3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt b/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt
index 649f103f9..581bf0f3a 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt
@@ -9,7 +9,7 @@ import com.google.gson.JsonPrimitive
object ConfigUpdaterMigrator {
val logger = LorenzLogger("ConfigMigration")
- const val CONFIG_VERSION = 15
+ const val CONFIG_VERSION = 16
fun JsonElement.at(chain: List<String>, init: Boolean): JsonElement? {
if (chain.isEmpty()) return this
if (this !is JsonObject) return null
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/EliteFarmingWeightConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/EliteFarmingWeightConfig.java
index caf56c195..e11347096 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/EliteFarmingWeightConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/EliteFarmingWeightConfig.java
@@ -34,8 +34,7 @@ public class EliteFarmingWeightConfig {
@Expose
@ConfigOption(name = "Show LB Change", desc = "Show the change of your position in the farming weight leaderboard while you were offline.")
@ConfigEditorBoolean
- // TODO migrate
- public boolean offScreenDropMessage = true;
+ public boolean showLbChange = true;
@Expose
@ConfigOption(name = "Always ETA", desc = "Show the Overtake ETA always, even when not farming at the moment.")