aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-03-27 04:38:29 +1100
committerGitHub <noreply@github.com>2024-03-26 18:38:29 +0100
commit619b69c8e06d0795f6bae9fff2d0d71c2016020f (patch)
treeccf994e077d86af68c1d99fc85e5146b60b4fc14 /src/main/java/at/hannibal2/skyhanni/config
parente7a378eab8ce9697538cab722a25def96964ba79 (diff)
downloadskyhanni-619b69c8e06d0795f6bae9fff2d0d71c2016020f.tar.gz
skyhanni-619b69c8e06d0795f6bae9fff2d0d71c2016020f.tar.bz2
skyhanni-619b69c8e06d0795f6bae9fff2d0d71c2016020f.zip
Improve mining tracker (#1236)
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/mining/MiningEventConfig.java5
2 files changed, 4 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 f2d64490f..841b8c188 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt
+++ b/src/main/java/at/hannibal2/skyhanni/config/ConfigUpdaterMigrator.kt
@@ -11,7 +11,7 @@ import com.google.gson.JsonPrimitive
object ConfigUpdaterMigrator {
val logger = LorenzLogger("ConfigMigration")
- const val CONFIG_VERSION = 28
+ const val CONFIG_VERSION = 29
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/mining/MiningEventConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java
index 4e8eee363..0476bb524 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningEventConfig.java
@@ -24,7 +24,7 @@ public class MiningEventConfig {
@Expose
@ConfigOption(name = "What to Show", desc = "Choose which island's events are shown in the gui.")
@ConfigEditorDropdown
- public ShowType showType = ShowType.BOTH;
+ public ShowType showType = ShowType.ALL;
@Expose
@ConfigOption(name = "Compressed Format", desc = "Compresses the event names so that they are shorter.")
@@ -38,9 +38,10 @@ public class MiningEventConfig {
public boolean passedEvents = false;
public enum ShowType {
- BOTH("Both Mining Islands"),
+ ALL("All Mining Islands"),
CRYSTAL("Crystal Hollows Only"),
DWARVEN("Dwarven Mines Only"),
+ MINESHAFT("Mineshaft Only"),
CURRENT("Current Island Only"),
;