From 542d2c2a5b6c1d0d45d2a67eaa2edeb1eb76d4e9 Mon Sep 17 00:00:00 2001 From: md-5 Date: Sat, 1 Feb 2014 09:27:22 +1100 Subject: [PATCH] Close #850 - send 127 for legacy protocol version --- .../main/java/net/md_5/bungee/connection/InitialHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java index dafd942c..71d97b73 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java @@ -135,7 +135,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection legacy = bungee.getPluginManager().callEvent( new ProxyPingEvent( this, legacy ) ).getResponse(); String kickMessage = ChatColor.DARK_BLUE - + "\00" + legacy.getVersion().getProtocol() + + "\00" + 127 + "\00" + legacy.getVersion().getName() + "\00" + legacy.getDescription() + "\00" + legacy.getPlayers().getOnline()