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
2
2
org.gradle.parallel =true
3
3
4
4
modGroup =com.lambda
5
- modVersion =3.0
6
- apiVersion =3.0-SNAPSHOT
5
+ modVersion =3.0.1
7
6
8
7
minecraftVersion =1.12.2
9
8
forgeVersion =14.23.5.2860
Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ class LambdaMod {
29
29
const val ID = " lambda"
30
30
const val DIRECTORY = " lambda/"
31
31
32
- const val VERSION = " 3.0-dev"
33
- const val VERSION_MAJOR = " 3.0"
32
+ const val VERSION = " 3.0.1"
34
33
35
34
const val APP_ID = 835368493150502923 // DiscordIPC
36
35
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>> {
21
21
22
22
const val pluginPath = " ${LambdaMod .DIRECTORY } plugins/"
23
23
24
- private val lambdaVersion = DefaultArtifactVersion (LambdaMod .VERSION_MAJOR )
24
+ private val lambdaVersion = DefaultArtifactVersion (LambdaMod .VERSION )
25
25
26
26
override fun preLoad0 () = checkPluginLoaders(getLoaders())
27
27
Original file line number Diff line number Diff line change @@ -34,17 +34,17 @@ object WebUtils {
34
34
35
35
latestVersion?.let {
36
36
val remoteVersion = DefaultArtifactVersion (it)
37
- val localVersion = DefaultArtifactVersion (LambdaMod .VERSION_MAJOR )
37
+ val localVersion = DefaultArtifactVersion (LambdaMod .VERSION )
38
38
when {
39
39
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." )
41
41
}
42
42
remoteVersion > localVersion -> {
43
43
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 " )
45
45
}
46
46
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." )
48
48
}
49
49
}
50
50
}
You can’t perform that action at this time.
0 commit comments