Add 1.18-Snapshot to CF versions (#61)

This commit is contained in:
Emma
2021-10-05 22:20:41 -04:00
committed by GitHub
parent ac9225ff93
commit 7f27e8d130

View File

@@ -55,7 +55,9 @@ func getCurseforgeVersion(mcVersion string) string {
return mcVersion
}
if year == 20 && week >= 45 || year >= 21 {
if year == 21 && week >= 37 || year >= 22 {
return "1.18-Snapshot"
} else if year == 20 && week >= 45 || year == 21 && week <= 20 {
return "1.17-Snapshot"
} else if year == 20 && week >= 6 {
return "1.16-Snapshot"