Added some more stuff to attempt to fix forge

This commit is contained in:
coolGi
2023-02-13 19:07:50 +10:30
parent 55bf0c04f4
commit a719ec5a3e
4 changed files with 34 additions and 14 deletions
+3
View File
@@ -66,6 +66,9 @@ def loadProperties() {
for (int i = 0; i < mcVers.size(); i++) {
mcVers[i] = mcVers[i].replaceAll(".properties", "") // As we are getting the file names, we should remove the ".properties" at the end to get the versions
}
mcVers.sort() // Sort so it always goes from oldest to newest
int mcIndex = -1
println "Avalible MC versions: ${mcVers}"
if (project.hasProperty("mcVer")) {