Fix yet another Access Widener remapper bug

dev/0.11
modmuss50 2020-05-14 02:21:52 +01:00
parent a36d7a20d4
commit 5d468efc48
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ public class AccessWidenerRemapper {
private EntryTriple remapMethod(EntryTriple entryTriple) { private EntryTriple remapMethod(EntryTriple entryTriple) {
return new EntryTriple( return new EntryTriple(
remapper.map(entryTriple.getName()), remapper.map(entryTriple.getOwner()),
remapper.mapMethodName(entryTriple.getOwner(), entryTriple.getName(), entryTriple.getDesc()), remapper.mapMethodName(entryTriple.getOwner(), entryTriple.getName(), entryTriple.getDesc()),
remapper.mapDesc(entryTriple.getDesc()) remapper.mapDesc(entryTriple.getDesc())
); );
@ -75,7 +75,7 @@ public class AccessWidenerRemapper {
private EntryTriple remapField(EntryTriple entryTriple) { private EntryTriple remapField(EntryTriple entryTriple) {
return new EntryTriple( return new EntryTriple(
remapper.map(entryTriple.getName()), remapper.map(entryTriple.getOwner()),
remapper.mapFieldName(entryTriple.getOwner(), entryTriple.getName(), entryTriple.getDesc()), remapper.mapFieldName(entryTriple.getOwner(), entryTriple.getName(), entryTriple.getDesc()),
remapper.mapDesc(entryTriple.getDesc()) remapper.mapDesc(entryTriple.getDesc())
); );