Close #850 - send 127 for legacy protocol version
This commit is contained in:
parent
649f83dee2
commit
542d2c2a5b
@ -135,7 +135,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection
|
|||||||
legacy = bungee.getPluginManager().callEvent( new ProxyPingEvent( this, legacy ) ).getResponse();
|
legacy = bungee.getPluginManager().callEvent( new ProxyPingEvent( this, legacy ) ).getResponse();
|
||||||
|
|
||||||
String kickMessage = ChatColor.DARK_BLUE
|
String kickMessage = ChatColor.DARK_BLUE
|
||||||
+ "\00" + legacy.getVersion().getProtocol()
|
+ "\00" + 127
|
||||||
+ "\00" + legacy.getVersion().getName()
|
+ "\00" + legacy.getVersion().getName()
|
||||||
+ "\00" + legacy.getDescription()
|
+ "\00" + legacy.getDescription()
|
||||||
+ "\00" + legacy.getPlayers().getOnline()
|
+ "\00" + legacy.getPlayers().getOnline()
|
||||||
|
Loading…
Reference in New Issue
Block a user