diff --git a/src/main/java/net/fabricmc/loom/util/accesswidener/AccessWidenerRemapper.java b/src/main/java/net/fabricmc/loom/util/accesswidener/AccessWidenerRemapper.java index ceb788b..e19c8f2 100644 --- a/src/main/java/net/fabricmc/loom/util/accesswidener/AccessWidenerRemapper.java +++ b/src/main/java/net/fabricmc/loom/util/accesswidener/AccessWidenerRemapper.java @@ -67,7 +67,7 @@ public class AccessWidenerRemapper { private EntryTriple remapMethod(EntryTriple entryTriple) { return new EntryTriple( - remapper.map(entryTriple.getName()), + remapper.map(entryTriple.getOwner()), remapper.mapMethodName(entryTriple.getOwner(), entryTriple.getName(), entryTriple.getDesc()), remapper.mapDesc(entryTriple.getDesc()) ); @@ -75,7 +75,7 @@ public class AccessWidenerRemapper { private EntryTriple remapField(EntryTriple entryTriple) { return new EntryTriple( - remapper.map(entryTriple.getName()), + remapper.map(entryTriple.getOwner()), remapper.mapFieldName(entryTriple.getOwner(), entryTriple.getName(), entryTriple.getDesc()), remapper.mapDesc(entryTriple.getDesc()) );