fix update check for CI builds

This commit is contained in:
NikkyAI 2018-11-28 21:53:20 +01:00
parent e506f14f76
commit 43ce9491b9
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ object UpdateChecker : CoroutineScope {
when { when {
number > instance.buildNumber -> { number > instance.buildNumber -> {
logger.warn("Mod out of date! New build $number available at $url") logger.warn("Mod out of date! New build $number available at $url")
val difference = number - build.number val difference = number - instance.buildNumber
LocationHandler.sendToLocations( LocationHandler.sendToLocations(
msg = "MatterLink out of date! You are $difference builds behind! Please download new version from $url", msg = "MatterLink out of date! You are $difference builds behind! Please download new version from $url",
x = 0, y = 0, z = 0, dimension = null, x = 0, y = 0, z = 0, dimension = null,

View File

@ -7,6 +7,6 @@ serializationVersion = 0.9.1
shadowVersion = 2.0.2 shadowVersion = 2.0.2
fuelVersion = 8690665998 fuelVersion = 8690665998
resultVersion = 2.0.0 resultVersion = 2.0.0
cursegradleVersion = 1.1.0 cursegradleVersion = 1.1.1
curseId = 287323 curseId = 287323
curseReleaseType = beta curseReleaseType = beta