summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r--src/main/java/net/minecraft/server/NetServerHandler.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java
index 3d4256ae..fe3cd39b 100644
--- a/src/main/java/net/minecraft/server/NetServerHandler.java
+++ b/src/main/java/net/minecraft/server/NetServerHandler.java
@@ -545,9 +545,11 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
}
public void a(String s, Object[] aobject) {
- a.info(this.e.name + " lost connection: " + s);
- this.d.f.a((Packet) (new Packet3Chat("\u00A7e" + this.e.name + " left the game.")));
- this.d.f.c(this.e);
+ if (!this.c) {
+ a.info(this.e.name + " lost connection: " + s);
+ this.d.f.a((Packet) (new Packet3Chat("\u00A7e" + this.e.name + " left the game.")));
+ this.d.f.c(this.e);
+ }
this.c = true;
}