summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/mapper/data/ClassData.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ftbsc/lll/mapper/data/ClassData.java')
-rw-r--r--src/main/java/ftbsc/lll/mapper/data/ClassData.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/mapper/data/ClassData.java b/src/main/java/ftbsc/lll/mapper/data/ClassData.java
index 04592fd..f8c6901 100644
--- a/src/main/java/ftbsc/lll/mapper/data/ClassData.java
+++ b/src/main/java/ftbsc/lll/mapper/data/ClassData.java
@@ -87,7 +87,7 @@ public class ClassData {
*/
public ClassData generateReverseMappings(Mapper mapper) {
ClassData reverse = new ClassData(this.nameMapped, this.name);
- this.methods.forEach((signature, data) -> reverse.addMethod(nameMapped, signature.name,
+ this.methods.forEach((signature, data) -> reverse.addMethod(data.nameMapped, signature.name,
MappingUtils.mapMethodDescriptor(signature.descriptor, mapper, false)));
this.fields.forEach((name, data) -> reverse.addField(data.nameMapped, name, data.descriptor));
return reverse;