Skip to content

Commit

Permalink
Support 1.20.2 snapshots.
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Aug 2, 2023
1 parent 67bf49c commit d5b5654
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 >= 23 && week >= 12) {
if (year >= 23 && week >= 31) {
return "1.20.2";
} else if (year == 23 && week >= 12 && week <= 18) {
return "1.20";
} else if (year == 23 && week <= 7) {
return "1.19.4";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public final class FabricLoaderImpl extends net.fabricmc.loader.FabricLoader {

public static final int ASM_VERSION = Opcodes.ASM9;

public static final String VERSION = "0.14.21";
public static final String VERSION = "0.14.22";
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 d5b5654

Please sign in to comment.