mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-26 12:35:54 +01:00
Fix invalid mixin target
This commit is contained in:
parent
041dbf8a8d
commit
26f9eea96a
@ -32,7 +32,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
|||||||
@Mixin(value = Protocol1_20To1_20_2.class, remap = false)
|
@Mixin(value = Protocol1_20To1_20_2.class, remap = false)
|
||||||
public abstract class MixinProtocol1_20To1_20_2 {
|
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) {
|
private static void dontQueueConfigPackets(ServerboundPackets1_20_2 packetType, PacketWrapper wrapper, CallbackInfo ci) {
|
||||||
if (!DebugSettings.global().queueConfigPackets.getValue()) {
|
if (!DebugSettings.global().queueConfigPackets.getValue()) {
|
||||||
ci.cancel();
|
ci.cancel();
|
||||||
|
Loading…
Reference in New Issue
Block a user