fix(deobf): fix writing method mappings as fields entries (#1432)(PR #1433)

This commit is contained in:
Matt 2022-04-02 07:30:25 -04:00 committed by GitHub
parent 2744c4bfb6
commit e784cbdd09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ public class Deobfuscator {
for (MethodNode mth : cls.getMethods()) {
MethodInfo methodInfo = mth.getMethodInfo();
if (methodInfo.hasAlias()) {
deobfPresets.getFldPresetMap().put(methodInfo.getRawFullId(), methodInfo.getAlias());
deobfPresets.getMthPresetMap().put(methodInfo.getRawFullId(), methodInfo.getAlias());
}
}
}