Skip to content

Commit

Permalink
Support 1.20.5 snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Dec 18, 2023
1 parent 7ee7080 commit 3f7cd30
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@ protected static String getRelease(String version) {
int year = Integer.parseInt(matcher.group(1));
int week = Integer.parseInt(matcher.group(2));

if (year >= 23 && week >= 40) {
if (year >= 23 && week >= 51) {
return "1.20.5";
} else if (year == 23 && week >= 40 && week <= 46) {
return "1.20.3";
} else if (year == 23 && week >= 31 && week <= 35) {
return "1.20.2";
Expand Down

0 comments on commit 3f7cd30

Please sign in to comment.