From ca2d8bd83475f37946b86cf6fabd8ff810f9c2bf Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 9 Mar 2013 17:58:18 -0500 Subject: [PATCH] Fix reflection helper: it needs to unmap the classname to find the field maps. --- common/cpw/mods/fml/common/ObfuscationReflectionHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cpw/mods/fml/common/ObfuscationReflectionHelper.java b/common/cpw/mods/fml/common/ObfuscationReflectionHelper.java index 111fd4ca5a..d17d4384e7 100644 --- a/common/cpw/mods/fml/common/ObfuscationReflectionHelper.java +++ b/common/cpw/mods/fml/common/ObfuscationReflectionHelper.java @@ -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)