From 36b36926b5f1138aeb259ad56b1095faf0105ab2 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 4 Dec 2012 09:52:15 +1100 Subject: [PATCH] Fix issue #60 --- src/main/java/net/md_5/bungee/UserConnection.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/md_5/bungee/UserConnection.java b/src/main/java/net/md_5/bungee/UserConnection.java index 11a466c2..d678d369 100644 --- a/src/main/java/net/md_5/bungee/UserConnection.java +++ b/src/main/java/net/md_5/bungee/UserConnection.java @@ -88,7 +88,7 @@ public class UserConnection extends GenericConnection implements CommandSender out.write(new Packet9Respawn((byte) -1, (byte) 0, (byte) 0, (short) 256, "DEFAULT").getPacket()); } - ServerConnection newServer = ServerConnection.connect(this, name, serverAddr, handshake, server == null); + ServerConnection newServer = ServerConnection.connect(this, name, serverAddr, handshake, true); if (server == null) { clientEntityId = newServer.loginPacket.entityId; @@ -286,7 +286,7 @@ public class UserConnection extends GenericConnection implements CommandSender message.tag = event.getTag(); message.data = event.getData().getBytes(); - + // Allow a message for killing the connection outright if (message.tag.equals("KillCon")) {