summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/PlayerConnection.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/PlayerConnection.patch b/nms-patches/PlayerConnection.patch
index ea53e3f9..402d00e6 100644
--- a/nms-patches/PlayerConnection.patch
+++ b/nms-patches/PlayerConnection.patch
@@ -97,6 +97,15 @@
public void e() {
this.syncPosition();
+@@ -104,7 +177,7 @@
+ this.minecraftServer.methodProfiler.a("keepAlive");
+ long i = this.d();
+
+- if (i - this.f >= 15000L) {
++ if (i - this.f >= 30000L) { // CraftBukkit
+ if (this.g) {
+ this.disconnect(new ChatMessage("disconnect.timeout", new Object[0]));
+ } else {
@@ -116,15 +189,21 @@
}