From b7babd2888d1f19f1adb44b2a3024bd1f369a4fa Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 19 Oct 2013 17:56:14 +1100 Subject: [PATCH] Fix ping player counts being swapped --- .../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 042a8734..67234e8d 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 @@ -167,7 +167,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection { pingBack.done( new ServerPing( new ServerPing.Protocol( bungee.getGameVersion(), bungee.getProtocolVersion() ), - new ServerPing.Players( bungee.getOnlineCount(), listener.getMaxPlayers() ), + new ServerPing.Players( listener.getMaxPlayers(), bungee.getOnlineCount() ), motd ), null ); }