13
0
geforkt von Mirrors/Paper
Dieser Commit ist enthalten in:
Shane Freeder 2017-10-09 10:15:17 +01:00
Ursprung f618803d57
Commit 45c25c868e
3 geänderte Dateien mit 6 neuen und 5 gelöschten Zeilen

Datei anzeigen

@ -16,14 +16,15 @@ this solves a read timeout in scenarios where the client isn't sending data to
the server, e.g. spectating an entity.
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
index 36af72387..b0ed57ba1 100644
index 69ed84af9..b18bf4245 100644
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
@@ -0,0 +0,0 @@ public class PlayerConnection implements PacketListenerPlayIn, ITickable {
this.minecraftServer.methodProfiler.a("keepAlive");
long i = this.d();
- if (i - this.f >= 30000L) { // CraftBukkit
-
- if (i - this.f >= 25000L) { // CraftBukkit
+ if (i - this.f >= 15000L) { // CraftBukkit // Paper - revert to 15
if (this.g) {
this.disconnect(new ChatMessage("disconnect.timeout", new Object[0]));

@ -1 +1 @@
Subproject commit 4f16bdbabbad82b6130b19bcc0a4621dee83e86e
Subproject commit dcc4266e331ab53697ba0f56dc3027d2d691cf88

@ -1 +1 @@
Subproject commit f8500c0a3ea5ecbefa9f8556a480e7fe4247ddbb
Subproject commit 9ab758c7b608854ec658450227c2a17e51845de5