summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvilSeph <evilseph@gmail.com>2012-01-24 23:43:23 -0500
committerEvilSeph <evilseph@gmail.com>2012-01-24 23:43:23 -0500
commitb987d1b052dbabfbada7b5d864cafec94bcb5ee4 (patch)
treec3131edff5e29c303d449b7f778e72ce51625e01
parent3e0a26f270b46a4edd334113443dd3c2a3fcdc49 (diff)
downloadcraftbukkit-b987d1b052dbabfbada7b5d864cafec94bcb5ee4.tar
craftbukkit-b987d1b052dbabfbada7b5d864cafec94bcb5ee4.tar.gz
craftbukkit-b987d1b052dbabfbada7b5d864cafec94bcb5ee4.tar.lz
craftbukkit-b987d1b052dbabfbada7b5d864cafec94bcb5ee4.tar.xz
craftbukkit-b987d1b052dbabfbada7b5d864cafec94bcb5ee4.zip
Really loosened the throttles strictness this time.
-rw-r--r--src/main/java/net/minecraft/server/NetworkAcceptThread.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/NetworkAcceptThread.java b/src/main/java/net/minecraft/server/NetworkAcceptThread.java
index c702648f..962390ef 100644
--- a/src/main/java/net/minecraft/server/NetworkAcceptThread.java
+++ b/src/main/java/net/minecraft/server/NetworkAcceptThread.java
@@ -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;