Skip to content

Commit

Permalink
Support 1.19.4 in McVersionLookup
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Jan 18, 2023
1 parent 8ddfc5e commit 2a378f1
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 == 22 && week >= 42 || year >= 23) {
if (year >= 23 && week >= 3) {
return "1.19.4";
} else if (year == 22 && week >= 42) {
return "1.19.3";
} else if (year == 22 && week == 24) {
return "1.19.1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,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.12";
public static final String VERSION = "0.14.13";
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 2a378f1

Please sign in to comment.