Skip to content

Commit

Permalink
fix crash x1
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMWolfs committed Dec 25, 2024
1 parent 5287cc1 commit 4bbc05e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,11 @@ class SkyHanniMod {
const val MODID = "skyhanni"

private val forgeModVersion
get() = Loader.instance().indexedModList[MODID]!!.version
get() = run {
val a = Loader.instance().indexedModList[MODID]!!.version
println("Forge mod version: $a")
a
}

private val modVersion = ModVersion.fromString(forgeModVersion)

Expand Down

0 comments on commit 4bbc05e

Please sign in to comment.