Skip to content

Commit 2529b8e

Browse files
committed
Bump Lambda 3.0 -> 3.0.1
Until new feature ofc
1 parent 9528897 commit 2529b8e

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

gradle.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ org.gradle.jvmargs=-Xmx3G
22
org.gradle.parallel=true
33

44
modGroup=com.lambda
5-
modVersion=3.0
6-
apiVersion=3.0-SNAPSHOT
5+
modVersion=3.0.1
76

87
minecraftVersion=1.12.2
98
forgeVersion=14.23.5.2860

src/main/kotlin/com/lambda/client/LambdaMod.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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,);"

src/main/kotlin/com/lambda/client/plugin/PluginManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/main/kotlin/com/lambda/client/util/WebUtils.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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.\nCurrent: ${LambdaMod.VERSION_MAJOR}\nLatest: $latestVersion")
44+
LambdaMod.LOG.warn("Your Lambda is outdated.\nCurrent: ${LambdaMod.VERSION}\nLatest: $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
}

0 commit comments

Comments
 (0)