Fix reflection helper: it needs to unmap the classname to find the field maps.

This commit is contained in:
Christian 2013-03-09 17:58:18 -05:00
parent 46b909e818
commit 796f70b545
1 changed files with 1 additions and 1 deletions

View File

@ -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)