Skip to content
This repository has been archived by the owner on Nov 17, 2017. It is now read-only.

Commit

Permalink
md5sum for (fixed) rc2, hack for broken rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Rupe committed Nov 13, 2011
1 parent a26ed1b commit 51ab009
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/com/pclewis/mcpatcher/MinecraftJar.java
Expand Up @@ -39,6 +39,7 @@ class MinecraftJar {
put("1.9pre6", "2468205154374afe5f9caaba2ffbf5f8");

put("rc1", "22d708f84dc44fba200c2a5e4261959c");
put("rc2", "bd569d20dd3dd898ff4371af9bbe14e1");
}
};

Expand Down Expand Up @@ -320,6 +321,9 @@ private int initialize(File minecraftJar) {
entries.add(name);
}
version = extractVersion(jar);
if (version.toString().equals("rc1") && md5.equals("e8e264bcff34aecbc7ef7f850858c1d6")) {
version = MinecraftVersion.parseVersion("Minecraft RC2 Prerelease 1");
}
} catch (ZipException e) {
exception = e;
return CORRUPT_JAR;
Expand Down

0 comments on commit 51ab009

Please sign in to comment.