Fixed player count in bungee plugin
This commit is contained in:
parent
afee32257d
commit
9d47864503
@ -45,6 +45,6 @@ public class PlayerCount implements Listener, Runnable
|
||||
{
|
||||
net.md_5.bungee.api.ServerPing serverPing = event.getResponse();
|
||||
|
||||
event.setResponse(new net.md_5.bungee.api.ServerPing(serverPing.getVersion(), new Players(_totalPlayers, _totalMaxPlayers), serverPing.getMotd(), serverPing.getFavicon()));
|
||||
event.setResponse(new net.md_5.bungee.api.ServerPing(serverPing.getVersion(), new Players(_totalMaxPlayers, _totalPlayers), serverPing.getMotd(), serverPing.getFavicon()));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user