13
0
geforkt von Mirrors/Paper

Really loosened the throttles strictness this time.

Dieser Commit ist enthalten in:
EvilSeph 2012-01-24 23:43:23 -05:00
Ursprung 3e0a26f270
Commit b987d1b052

Datei anzeigen

@ -25,7 +25,7 @@ class NetworkAcceptThread extends Thread {
synchronized (NetworkListenThread.b(this.b)) {
InetAddress inetaddress = socket.getInetAddress();
if (NetworkListenThread.b(this.b).containsKey(inetaddress) && System.currentTimeMillis() - ((Long) NetworkListenThread.b(this.b).get(inetaddress)).longValue() < 6000L) { // CraftBukkit
if (NetworkListenThread.b(this.b).containsKey(inetaddress) && System.currentTimeMillis() - ((Long) NetworkListenThread.b(this.b).get(inetaddress)).longValue() < 4000L) { // CraftBukkit
NetworkListenThread.b(this.b).put(inetaddress, Long.valueOf(System.currentTimeMillis()));
socket.close();
continue;