aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle.kts2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/massconfiguration/DefaultConfigFeatures.kt2
3 files changed, 3 insertions, 3 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 6df3bad10..3ebdcb8f8 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -11,7 +11,7 @@ plugins {
}
group = "at.hannibal2.skyhanni"
-version = "0.21.1.Beta.2"
+version = "0.21.1.Beta.2.1"
// Toolchains:
java {
diff --git a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
index 0facb0f65..6abecaddc 100644
--- a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
+++ b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
@@ -331,7 +331,7 @@ import org.apache.logging.log4j.Logger
clientSideOnly = true,
useMetadata = true,
guiFactory = "at.hannibal2.skyhanni.config.ConfigGuiForgeInterop",
- version = "0.21.1.Beta.2",
+ version = "0.21.1.Beta.2.1",
)
class SkyHanniMod {
@Mod.EventHandler
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/massconfiguration/DefaultConfigFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/massconfiguration/DefaultConfigFeatures.kt
index 66f20f103..6c5be7ec9 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/massconfiguration/DefaultConfigFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/massconfiguration/DefaultConfigFeatures.kt
@@ -38,7 +38,7 @@ object DefaultConfigFeatures {
"shdefaultoptions"
)
} else if (updated) {
- val lastVersion = knownToggles.keys.last()
+ val lastVersion = knownToggles.keys.last { it != SkyHanniMod.version }
val command = "/shdefaultoptions $lastVersion ${SkyHanniMod.version}"
LorenzUtils.clickableChat(
"§e[SkyHanni] Looks like you updated SkyHanni. " +