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

This commit is contained in:
Christian committed 2013-03-09 17:58:18 -05:00
1 parent 2a779ec328
commit ca2d8bd834
1 file changed
+1 -1
@@ -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)