Skip to content

Commit 131b302

Browse files
authored
Merge pull request #8 from 1fxe/dev
fix: couldn't find mapping file
2 parents 0bbf5fd + fd9aa0f commit 131b302

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sourceCompatibility = JavaVersion.VERSION_1_8
1212

1313
recaf {
1414
mainClass = project.mainClass
15-
recafVersion = "2.19.1"
15+
recafVersion = "2.19.5"
1616
}
1717

1818
task processSource(type: Sync) {

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Recaf4Forge
2-
version=1.2.1
2+
version=1.2.2
33
group=dev.fxe
44
description=Recaf4Forge
55
mainClass=dev.fxe.recaf4forge.Recaf4Forge

src/main/java/dev/fxe/recaf4forge/Recaf4Forge.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public Menu createMenu() {
108108

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

0 commit comments

Comments
 (0)