mirror of
https://github.com/TeamMidnightDust/MidnightControls.git
synced 2025-12-13 23:25:10 +01:00
Always respect minor version in name
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user