Fix reflection helper: it needs to unmap the classname to find the field maps.
This commit is contained in:
parent
46b909e818
commit
796f70b545
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public class ObfuscationReflectionHelper
|
|||
|
||||
public static String[] remapFieldNames(String className, String... fieldNames)
|
||||
{
|
||||
String internalClassName = className.replace('.', '/');
|
||||
String internalClassName = FMLDeobfuscatingRemapper.INSTANCE.unmap(className.replace('.', '/'));
|
||||
String[] mappedNames = new String[fieldNames.length];
|
||||
int i = 0;
|
||||
for (String fName : fieldNames)
|
||||
|
|
Loading…
Reference in a new issue