Skip to content

Commit

Permalink
Support 1.20 snapshot versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Mar 22, 2023
1 parent 2f19a54 commit 09646a9
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 >= 3) {
if (year >= 23 && week >= 12) {
return "1.20";
} else if (year == 23 && week <= 7) {
return "1.19.4";
} else if (year == 22 && week >= 42) {
return "1.19.3";
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.17";
public static final String VERSION = "0.14.18";
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 09646a9

Please sign in to comment.