diff --git a/alicefixes/src/com/skcraft/alicefixes/TransformMiningLaser.java b/alicefixes/src/com/skcraft/alicefixes/TransformMiningLaser.java index 408ab79..05fdd29 100644 --- a/alicefixes/src/com/skcraft/alicefixes/TransformMiningLaser.java +++ b/alicefixes/src/com/skcraft/alicefixes/TransformMiningLaser.java @@ -63,7 +63,7 @@ private byte[] handleLaserTransform(byte[] bytes) { "com/skcraft/alicefixes/TransformMiningLaser", "canMine", "(L" + ObfNames.ENTITY + ";L" + ObfNames.ENTITY_LIVING + ";)Z")); - toInject.add(new JumpInsnNode(IFEQ, l1)); //if statement + toInject.add(new JumpInsnNode(IFNE, l1)); //if statement toInject.add(l2); toInject.add(new InsnNode(ICONST_0)); //false toInject.add(new InsnNode(IRETURN)); //return