Skip to content

Commit

Permalink
Support 1.21.5? snapshot cycle.
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Jan 8, 2025
1 parent d1c3b40 commit fda9a7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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 == 24 && week >= 44 || year >= 25) {
if (year == 25 && week >= 2 || year > 25) {
return "1.21.5";
} else if (year == 24 && week >= 44) {
return "1.21.4";
} else if (year == 24 && week >= 33 && week <= 40) {
return "1.21.2";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public final class FabricLoaderImpl extends net.fabricmc.loader.FabricLoader {

public static final int ASM_VERSION = Opcodes.ASM9;

public static final String VERSION = "0.16.9";
public static final String VERSION = "0.16.10";
public static final String MOD_ID = "fabricloader";

public static final String CACHE_DIR_NAME = ".fabric"; // relative to game dir
Expand Down

0 comments on commit fda9a7b

Please sign in to comment.