aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-25 01:00:26 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-25 01:00:26 +0100
commite70531a2090979d942b047be004b319869a6f220 (patch)
tree9c07adc33c159b321b871cba779b7f08f111f9e9 /src/main/java/at/hannibal2/skyhanni/config
parent2f0c352849ec84e53676f62be27a1c9e92210441 (diff)
downloadskyhanni-e70531a2090979d942b047be004b319869a6f220.tar.gz
skyhanni-e70531a2090979d942b047be004b319869a6f220.tar.bz2
skyhanni-e70531a2090979d942b047be004b319869a6f220.zip
Fixed config migration errors
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/rift/motes/MotesConfig.java2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/rift/motes/RiftInventoryValueConfig.java (renamed from src/main/java/at/hannibal2/skyhanni/config/features/rift/motes/InventoryValueConfig.java)2
3 files changed, 3 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 581bf0f3a..f98373ea3 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 = 16
+ const val CONFIG_VERSION = 17
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/rift/motes/MotesConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/rift/motes/MotesConfig.java
index 2a65a6652..ef6c3a3e7 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/rift/motes/MotesConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/rift/motes/MotesConfig.java
@@ -23,5 +23,5 @@ public class MotesConfig {
@Expose
@ConfigOption(name = "Inventory Value", desc = "")
@Accordion
- public InventoryValueConfig inventoryValue = new InventoryValueConfig();
+ public RiftInventoryValueConfig inventoryValue = new RiftInventoryValueConfig();
}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/rift/motes/InventoryValueConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/rift/motes/RiftInventoryValueConfig.java
index 50ec181e4..4b4fef21d 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/rift/motes/InventoryValueConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/rift/motes/RiftInventoryValueConfig.java
@@ -8,7 +8,7 @@ import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigEditorDropdown;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
-public class InventoryValueConfig {
+public class RiftInventoryValueConfig {
@Expose
@ConfigOption(name = "Inventory Value", desc = "Show total Motes NPC price for the current opened inventory.")
@ConfigEditorBoolean