Always respect minor version in name

This commit is contained in:
Martin Prokoph
2024-04-29 20:55:08 +02:00
parent 00780e13fd
commit d3a787090e

View File

@@ -21,11 +21,7 @@ boolean isMCVersionNonRelease() {
}
String getMCVersionString() {
if (isMCVersionNonRelease() || project.minecraft_version == "1.20.4") {
return project.minecraft_version
}
def version = project.minecraft_version.split('\\.')
return version[0] + '.' + version[1]
return project.minecraft_version
}
boolean pingUrl(String address) {