Skip to content

Commit

Permalink
Support 23w13a_or_b
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Apr 1, 2023
1 parent 09646a9 commit 69fefcb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public final class McVersionLookup {
+ "(Alpha|Beta) v?\\d+\\.\\d+(\\.\\d+)?[a-z]?(_\\d+)?[a-z]?|" // long alpha/beta names: Alpha v1.2.3_45
+ "Inf?dev (0\\.31 )?\\d+(-\\d+)?|" // long indev/infdev names: Infdev 12345678-9
+ "(rd|inf)-\\d+|" // early rd-123, inf-123
+ "1\\.RV-Pre1|3D Shareware v1\\.34|" // odd exceptions
+ "1\\.RV-Pre1|3D Shareware v1\\.34|23w13a_or_b|" // odd exceptions
+ "(.*[Ee]xperimental [Ss]napshot )(\\d+)" // Experimental versions.
);
private static final Pattern RELEASE_PATTERN = Pattern.compile("\\d+\\.\\d+(\\.\\d+)?");
Expand Down Expand Up @@ -589,6 +589,10 @@ private static String normalizeSpecialVersion(String version) {
// 2.0 update version blue, forked from 1.5.1
return "1.5.2-blue";

case "23w13a_or_b":
// Minecraft 23w13a_or_b, forked from 23w13a
return "1.20-alpha.23.13.ab";

default:
return null; //Don't recognise the version
}
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.18";
public static final String VERSION = "0.14.19";
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 69fefcb

Please sign in to comment.