SPIGOT-3603: Fix client timing out in scenarios where it sends no packets.

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2017-10-09 18:23:58 +11:00
parent b147b1834f
commit 01186b718b

View file

@ -102,7 +102,7 @@
long i = this.d();
- if (i - this.f >= 15000L) {
+ if (i - this.f >= 30000L) { // CraftBukkit
+ if (i - this.f >= 25000L) { // CraftBukkit
if (this.g) {
this.disconnect(new ChatMessage("disconnect.timeout", new Object[0]));
} else {