aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-08-27 09:51:03 +0200
committer zaaarf <zaaarf@proton.me>2023-08-27 09:51:03 +0200
commit3000895130821a450fb18c75d36d1c6218047be6 (patch)
tree16328079e7ef3e44812f0a8107a6f825796c2302 /src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java
parente07a0ac4238ecd8b2014237073e2daa5e6dee028 (diff)
fix: forgot the descriptor in a few places0.2.3
Diffstat (limited to 'src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java')
-rw-r--r--src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java b/src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java
index 4bd0af0..784d0e0 100644
--- a/src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java
+++ b/src/main/java/ftbsc/lll/mapper/tools/data/ClassData.java
@@ -89,7 +89,7 @@ public class ClassData {
ClassData reverse = new ClassData(this.nameMapped, this.name);
this.methods.forEach((signature, data) -> reverse.addMethod(nameMapped, signature.name,
MappingUtils.mapMethodDescriptor(signature.descriptor, mapper, false)));
- this.fields.forEach((name, data) -> reverse.addField(data.nameMapped, name));
+ this.fields.forEach((name, data) -> reverse.addField(data.nameMapped, name, data.descriptor));
return reverse;
}