diff --git a/core/src/main/kotlin/matterlink/update/UpdateChecker.kt b/core/src/main/kotlin/matterlink/update/UpdateChecker.kt index 9c3c8b5..686d5ae 100644 --- a/core/src/main/kotlin/matterlink/update/UpdateChecker.kt +++ b/core/src/main/kotlin/matterlink/update/UpdateChecker.kt @@ -42,7 +42,7 @@ object UpdateChecker : CoroutineScope { when { number > instance.buildNumber -> { logger.warn("Mod out of date! New build $number available at $url") - val difference = number - build.number + val difference = number - instance.buildNumber LocationHandler.sendToLocations( msg = "MatterLink out of date! You are $difference builds behind! Please download new version from $url", x = 0, y = 0, z = 0, dimension = null, diff --git a/gradle.properties b/gradle.properties index 6b52b55..ad50195 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,6 +7,6 @@ serializationVersion = 0.9.1 shadowVersion = 2.0.2 fuelVersion = 8690665998 resultVersion = 2.0.0 -cursegradleVersion = 1.1.0 +cursegradleVersion = 1.1.1 curseId = 287323 curseReleaseType = beta \ No newline at end of file