Skip to content

Commit

Permalink
Merge pull request #8 from 1fxe/dev
Browse files Browse the repository at this point in the history
fix: couldn't find mapping file
  • Loading branch information
1fxe authored May 8, 2021
2 parents 0bbf5fd + fd9aa0f commit 131b302
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sourceCompatibility = JavaVersion.VERSION_1_8

recaf {
mainClass = project.mainClass
recafVersion = "2.19.1"
recafVersion = "2.19.5"
}

task processSource(type: Sync) {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Recaf4Forge
version=1.2.1
version=1.2.2
group=dev.fxe
description=Recaf4Forge
mainClass=dev.fxe.recaf4forge.Recaf4Forge
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/dev/fxe/recaf4forge/Recaf4Forge.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public Menu createMenu() {

private void applyMapping() {
MappingImpl mappingIml = Versions.MAP.get(this.currentVersion);
String path = this.exporter.getPluginResource(this.currentVersion, "/mappings." + mappingIml);
String path = this.exporter.getPluginResource(this.currentVersion, ("/mappings." + mappingIml).toLowerCase());
Path mappingPath = Extractor.getResourcePath(null, path);
if (mappingPath == null) {
Recaf4Forge.info("Could not find mappings, is the resource null?");
Expand Down

0 comments on commit 131b302

Please sign in to comment.