File tree Expand file tree Collapse file tree 4 files changed +7
-9
lines changed
src/main/kotlin/com/lambda/client Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ org.gradle.jvmargs=-Xmx3G
22org.gradle.parallel =true
33
44modGroup =com.lambda
5- modVersion =3.0
6- apiVersion =3.0-SNAPSHOT
5+ modVersion =3.0.1
76
87minecraftVersion =1.12.2
98forgeVersion =14.23.5.2860
Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ class LambdaMod {
2929 const val ID = " lambda"
3030 const val DIRECTORY = " lambda/"
3131
32- const val VERSION = " 3.0-dev"
33- const val VERSION_MAJOR = " 3.0"
32+ const val VERSION = " 3.0.1"
3433
3534 const val APP_ID = 835368493150502923 // DiscordIPC
3635 const val DEPENDENCIES = " required-after:forge@[14.23.5.2860,);"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ internal object PluginManager : AsyncLoader<List<PluginLoader>> {
2121
2222 const val pluginPath = " ${LambdaMod .DIRECTORY } plugins/"
2323
24- private val lambdaVersion = DefaultArtifactVersion (LambdaMod .VERSION_MAJOR )
24+ private val lambdaVersion = DefaultArtifactVersion (LambdaMod .VERSION )
2525
2626 override fun preLoad0 () = checkPluginLoaders(getLoaders())
2727
Original file line number Diff line number Diff line change @@ -34,17 +34,17 @@ object WebUtils {
3434
3535 latestVersion?.let {
3636 val remoteVersion = DefaultArtifactVersion (it)
37- val localVersion = DefaultArtifactVersion (LambdaMod .VERSION_MAJOR )
37+ val localVersion = DefaultArtifactVersion (LambdaMod .VERSION )
3838 when {
3939 remoteVersion == localVersion -> {
40- LambdaMod .LOG .info(" Your Lambda (" + LambdaMod .VERSION_MAJOR + " ) is up-to-date with the latest stable release." )
40+ LambdaMod .LOG .info(" Your Lambda (" + LambdaMod .VERSION + " ) is up-to-date with the latest stable release." )
4141 }
4242 remoteVersion > localVersion -> {
4343 isLatestVersion = false
44- LambdaMod .LOG .warn(" Your Lambda is outdated.\n Current: ${LambdaMod .VERSION_MAJOR } \n Latest: $latestVersion " )
44+ LambdaMod .LOG .warn(" Your Lambda is outdated.\n Current: ${LambdaMod .VERSION } \n Latest: $latestVersion " )
4545 }
4646 remoteVersion < localVersion -> {
47- LambdaMod .LOG .info(" Your Lambda (" + LambdaMod .VERSION_MAJOR + " ) is ahead of time." )
47+ LambdaMod .LOG .info(" Your Lambda (" + LambdaMod .VERSION + " ) is ahead of time." )
4848 }
4949 }
5050 }
You can’t perform that action at this time.
0 commit comments