diff --git a/src/main/java/org/spongepowered/asm/mixin/gen/AccessorGeneratorObjectFactory.java b/src/main/java/org/spongepowered/asm/mixin/gen/AccessorGeneratorObjectFactory.java index 1c928134b..5c09ad4fe 100644 --- a/src/main/java/org/spongepowered/asm/mixin/gen/AccessorGeneratorObjectFactory.java +++ b/src/main/java/org/spongepowered/asm/mixin/gen/AccessorGeneratorObjectFactory.java @@ -58,9 +58,7 @@ public MethodNode generate() { Bytecode.loadArgs(this.argTypes, method.instructions, 0); method.instructions.add(new MethodInsnNode(Opcodes.INVOKESPECIAL, className, Constants.CTOR, this.targetMethod.desc, false)); method.instructions.add(new InsnNode(Opcodes.ARETURN)); - - assert 1 == 3; - + return method; }