From 26f9eea96aa310ab0f4b18850c9befc59b50c8bc Mon Sep 17 00:00:00 2001 From: FlorianMichael Date: Sun, 17 Nov 2024 22:43:07 +0100 Subject: [PATCH] Fix invalid mixin target --- .../mixin/fixes/viaversion/MixinProtocol1_20To1_20_2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/viaversion/MixinProtocol1_20To1_20_2.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/viaversion/MixinProtocol1_20To1_20_2.java index 451e96a2..68513cdf 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/viaversion/MixinProtocol1_20To1_20_2.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/viaversion/MixinProtocol1_20To1_20_2.java @@ -32,7 +32,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; @Mixin(value = Protocol1_20To1_20_2.class, remap = false) public abstract class MixinProtocol1_20To1_20_2 { - @Inject(method = "lambda$queueServerboundPacket$13", at = @At("HEAD"), cancellable = true) + @Inject(method = "lambda$queueServerboundPacket$12", at = @At("HEAD"), cancellable = true) private static void dontQueueConfigPackets(ServerboundPackets1_20_2 packetType, PacketWrapper wrapper, CallbackInfo ci) { if (!DebugSettings.global().queueConfigPackets.getValue()) { ci.cancel();