We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8a58da commit 20fae7fCopy full SHA for 20fae7f
HMCLCore/src/main/java/org/jackhuang/hmcl/game/GameVersion.java
@@ -202,8 +202,9 @@ public static Optional<String> minecraftVersion(Path file) {
202
Optional<String> result = getVersionOfClassMinecraft(is);
203
if (result.isPresent()) {
204
String version = result.get();
205
- // For Minecraft 1.0 rc1/rc2-1/rc2-2/rc2-3, this value is always "RC1"
206
- if (!version.equals("RC1")) {
+ // For Minecraft 1.0 rc1/rc2-1/rc2-2, this value is "RC1"
+ // For Minecraft 1.0 rc2-3, this value is "RC2"
207
+ if (!version.equals("RC1") && !version.equals("RC2")) {
208
if (version.startsWith("Beta ")) {
209
result = Optional.of("b" + version.substring("Beta ".length()));
210
} else if (version.startsWith("Alpha v")) {
0 commit comments