mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-03 21:37:28 +01:00
Update B/CB
This commit is contained in:
parent
f618803d57
commit
45c25c868e
3 changed files with 6 additions and 5 deletions
Spigot-Server-Patches
work
|
@ -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
|
Loading…
Add table
Reference in a new issue