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:
parent
b147b1834f
commit
01186b718b
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@
|
||||||
long i = this.d();
|
long i = this.d();
|
||||||
|
|
||||||
- if (i - this.f >= 15000L) {
|
- if (i - this.f >= 15000L) {
|
||||||
+ if (i - this.f >= 30000L) { // CraftBukkit
|
+ if (i - this.f >= 25000L) { // CraftBukkit
|
||||||
if (this.g) {
|
if (this.g) {
|
||||||
this.disconnect(new ChatMessage("disconnect.timeout", new Object[0]));
|
this.disconnect(new ChatMessage("disconnect.timeout", new Object[0]));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue