diff --git a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt index fe8c6398e08f..73ed6ec6da80 100644 --- a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt +++ b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt @@ -112,7 +112,7 @@ class SkyHanniMod { private val forgeModVersion get() = run { val a = Loader.instance().indexedModList[MODID]!!.version - println("Forge mod version: $a") + println("Forge mod version 2: $a") a } @@ -120,7 +120,11 @@ class SkyHanniMod { @JvmStatic val version: String - get() = modVersion.asString + get() = run { + val a = Loader.instance().indexedModList[MODID]!!.version + println("Forge mod version 2: $a") + a + } val isBetaVersion: Boolean get() = modVersion.isBeta