Fix rename unique fields

This commit is contained in:
Adam
2015-08-17 17:01:03 -04:00
parent 5059f8cc75
commit 88fc561188

View File

@@ -96,7 +96,7 @@ public class RenameUnique implements Deobfuscator
{
Instructions instructions = method.getCode().getInstructions();
net.runelite.deob.pool.Field newField = new net.runelite.deob.pool.Field(
new net.runelite.deob.pool.Class(c.getName()),
new net.runelite.deob.pool.Class(field.getFields().getClassFile().getName()),
new NameAndType(name, field.getType())
);
instructions.renameField(field, newField);