Update B/CB
This commit is contained in:
@@ -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]));
|
||||
|
||||
Submodule work/Bukkit updated: 4f16bdbabb...dcc4266e33
Submodule work/CraftBukkit updated: f8500c0a3e...9ab758c7b6
Reference in New Issue
Block a user