aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-18 01:44:48 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-18 01:44:48 +0100
commit72c3403788a2a046d6147ae07578d9c12ab696e2 (patch)
treef15ab1ca6a041d8e0e58ecad06af17213909b0de /src/main/java
parent9f7f3f1aec696e54313bdab090ce77a4d4733d00 (diff)
downloadskyhanni-72c3403788a2a046d6147ae07578d9c12ab696e2.tar.gz
skyhanni-72c3403788a2a046d6147ae07578d9c12ab696e2.tar.bz2
skyhanni-72c3403788a2a046d6147ae07578d9c12ab696e2.zip
0.21.1 Beta 2.1
Diffstat (limited to 'src/main/java')
-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
2 files changed, 2 insertions, 2 deletions
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. " +