Skip to content

Commit

Permalink
Incompetence strikes again: correctly correct MCP mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
LunNova committed Mar 4, 2016
1 parent f2d2325 commit f9d71d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ if (System.env.GRADLE_USER_HOME) {
ext.homeDir = System.properties['user.home'] + '/.gradle/'
}
ext.mappingsPath = homeDir + 'caches/minecraft/de/oceanlabs/mcp/mcp_' + mappings_channel + '/' + mappings_version + '/'
ext.srgPath = mappingsPath + 'srgs/srg-mcp.srg'
ext.srgPath = mappingsPath + 'srgs/notch-srg.srg'

jar.doFirst {
if (!file(mappingsPath + 'fields.csv').exists() || !file(srgPath))
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/me/nallar/modpatcher/MCPMappings.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public MCPMappings() throws IOException {
try {
loadCsv(Mappings.class.getResourceAsStream("/methods.csv"), methodSeargeMappings);
loadCsv(Mappings.class.getResourceAsStream("/fields.csv"), fieldSeargeMappings);
loadSrg(Mappings.class.getResourceAsStream("/srg-mcp.srg"));
loadSrg(Mappings.class.getResourceAsStream("/notch-srg.srg"));
} catch (Exception e) {
PatcherLog.error("Failed to load MCP mappings", e);
}
Expand Down

0 comments on commit f9d71d9

Please sign in to comment.