From b43aaeb35651fe75b0844f752df29521f3d197ae Mon Sep 17 00:00:00 2001 From: Gabriel Harris-Rouquette Date: Thu, 2 Jan 2020 17:20:20 -0800 Subject: [PATCH] In retrospect, we can all agree that 1 in fact does not equal 3. After a lot of scientific consideration, and general consensus, our math was being managed by the 19th department of the 84th district of Orwell's General Assertion Testing Authority of Consulate of Administration. We can in fact clear up the mess after the previous issues with 2 + 2 being in fact 4, and not 5. Signed-off-by: Gabriel Harris-Rouquette --- .../asm/mixin/gen/AccessorGeneratorObjectFactory.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 1c928134..5c09ad4f 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 class AccessorGeneratorObjectFactory extends AccessorGeneratorMethodProxy 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; }