Skip to content

Commit

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

const val MODID = "skyhanni"

private val modVersion = ModVersion.fromString(Loader.instance().indexedModList[MODID]!!.version)
private val forgeModVersion
get() = Loader.instance().indexedModList[MODID]!!.version

private val modVersion = ModVersion.fromString(forgeModVersion)

@JvmStatic
val version: String
Expand Down

0 comments on commit 5287cc1

Please sign in to comment.