mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix reflection helper: it needs to unmap the classname to find the field maps.
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user