Getting Old.

This commit is contained in:
AlgorithmX2 2014-02-11 03:29:28 -06:00
parent 39ff23d586
commit 9293afb4e7

View file

@ -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 );