diff --git a/src/main/java/net/minecraftforge/fml/common/asm/transformers/FieldRedirectTransformer.java b/src/main/java/net/minecraftforge/fml/common/asm/transformers/FieldRedirectTransformer.java index d51d0eefd..ba5be797f 100644 --- a/src/main/java/net/minecraftforge/fml/common/asm/transformers/FieldRedirectTransformer.java +++ b/src/main/java/net/minecraftforge/fml/common/asm/transformers/FieldRedirectTransformer.java @@ -51,7 +51,7 @@ public class FieldRedirectTransformer implements IClassTransformer @Override public byte[] transform(String name, String transformedName, byte[] basicClass) { - if (!this.clsName.equals(name)) + if (!this.clsName.equals(transformedName)) return basicClass; ClassNode classNode = new ClassNode();