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,12 +21,8 @@ boolean isMCVersionNonRelease() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String getMCVersionString() {
|
String getMCVersionString() {
|
||||||
if (isMCVersionNonRelease() || project.minecraft_version == "1.20.4") {
|
|
||||||
return project.minecraft_version
|
return project.minecraft_version
|
||||||
}
|
}
|
||||||
def version = project.minecraft_version.split('\\.')
|
|
||||||
return version[0] + '.' + version[1]
|
|
||||||
}
|
|
||||||
|
|
||||||
boolean pingUrl(String address) {
|
boolean pingUrl(String address) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user