mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 04:02:50 +01:00
Nanothing to see here
This commit is contained in:
parent
3e9fc24b66
commit
9c326fceda
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
From 320c3f9937a0e870f32f6b1dc3cf5480004a7692 Mon Sep 17 00:00:00 2001
|
||||
From 811e3b68dac83939ebea390ad4c6073380fa6753 Mon Sep 17 00:00:00 2001
|
||||
From: stonar96 <minecraft.stonar96@gmail.com>
|
||||
Date: Mon, 20 Aug 2018 03:03:58 +0200
|
||||
Subject: [PATCH] Anti-Xray
|
||||
|
@ -1377,13 +1377,13 @@ index 2c1d1b1a55..44aed67274 100644
|
|||
|
||||
if (this.h == this.b) {
|
||||
diff --git a/src/main/java/net/minecraft/server/NetworkManager.java b/src/main/java/net/minecraft/server/NetworkManager.java
|
||||
index e966b6edcc..682434ec07 100644
|
||||
index 02a9f3d5fa..55441e1002 100644
|
||||
--- a/src/main/java/net/minecraft/server/NetworkManager.java
|
||||
+++ b/src/main/java/net/minecraft/server/NetworkManager.java
|
||||
@@ -188,6 +188,11 @@ public class NetworkManager extends SimpleChannelInboundHandler<Packet<?>> {
|
||||
|
||||
public void sendPacket(Packet<?> packet, @Nullable GenericFutureListener<? extends Future<? super Void>> genericfuturelistener) {
|
||||
// Paper start start - handle oversized packets better
|
||||
// Paper start - handle oversized packets better
|
||||
+ // Special case keepalive, allow it to go out of queue order
|
||||
+ if (packet instanceof PacketPlayOutKeepAlive && this.isConnected()) {
|
||||
+ this.dispatchPacket(packet, genericfuturelistener);
|
||||
|
|
Loading…
Reference in a new issue