mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-22 11:56:21 +01:00
Update VV usage
This commit is contained in:
parent
3ac3216922
commit
42f33167a9
@ -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$12", at = @At("HEAD"), cancellable = true)
|
||||
@Inject(method = "lambda$queueServerboundPacket$13", at = @At("HEAD"), cancellable = true)
|
||||
private static void dontQueueConfigPackets(ServerboundPackets1_20_2 packetType, PacketWrapper wrapper, CallbackInfo ci) {
|
||||
if (!DebugSettings.global().queueConfigPackets.getValue()) {
|
||||
ci.cancel();
|
||||
|
Loading…
Reference in New Issue
Block a user