mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-19 21:16:30 +02:00
Add support for 1.17 snapshots in CurseForge requests
This commit is contained in:
parent
7bedd820c2
commit
3462dd7f21
@ -55,7 +55,9 @@ func getCurseforgeVersion(mcVersion string) string {
|
||||
return mcVersion
|
||||
}
|
||||
|
||||
if year == 20 && week >= 6 {
|
||||
if year == 20 && week >= 45 || year >= 21 {
|
||||
return "1.17-Snapshot"
|
||||
} else if year == 20 && week >= 6 {
|
||||
return "1.16-Snapshot"
|
||||
} else if year == 19 && week >= 34 {
|
||||
return "1.15-Snapshot"
|
||||
|
Loading…
x
Reference in New Issue
Block a user