Getting Old.
This commit is contained in:
parent
39ff23d586
commit
9293afb4e7
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ public class AppEngASMTransformer implements IClassTransformer
|
|||
if ( in.getOpcode() == Opcodes.INVOKESPECIAL )
|
||||
{
|
||||
MethodInsnNode n = (MethodInsnNode) in;
|
||||
if ( n.name.equals( "func_146977_a" ) )
|
||||
if ( n.name.equals( "func_146977_a" ) || (mn.name.equals( "a" ) && mn.desc.equals( "(Lzk;)V" )) )
|
||||
{
|
||||
mn.instructions.insertBefore( n, new MethodInsnNode( Opcodes.INVOKEVIRTUAL, n.owner, n.name, n.desc ) );
|
||||
mn.instructions.remove( in );
|
||||
|
|
Loading…
Reference in a new issue