mirror of
https://github.com/CPTProgrammer/ChatPlus.git
synced 2026-05-05 17:51:00 +08:00
Correct variable to ${mc} in -Pmc error message
This commit is contained in:
parent
1494ae1e2e
commit
aaf4b64e6e
@ -24,7 +24,7 @@ def loadProperties() {
|
||||
|
||||
// Prefer the version defined by the command line argument -Pmc=x.x.x
|
||||
def inputVersion = hasProperty("mc") ?
|
||||
validateMinecraftVersionFormat(mc as String, "Invalid Minecraft version provided via -Pmc=${minecraft_version}") :
|
||||
validateMinecraftVersionFormat(mc as String, "Invalid Minecraft version provided via -Pmc=${mc}") :
|
||||
validateMinecraftVersionFormat(minecraft_version, "Invalid Minecraft version in gradle.properties: minecraft_version=${minecraft_version}")
|
||||
gradle.ext.minecraft_version = inputVersion
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user