mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 03:05:49 +01:00
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();
|
||||
|
||||
String kickMessage = ChatColor.DARK_BLUE
|
||||
+ "\00" + legacy.getVersion().getProtocol()
|
||||
+ "\00" + 127
|
||||
+ "\00" + legacy.getVersion().getName()
|
||||
+ "\00" + legacy.getDescription()
|
||||
+ "\00" + legacy.getPlayers().getOnline()
|
||||
|
Loading…
Reference in New Issue
Block a user