Fix list command

This commit is contained in:
Business Goose 2022-04-01 22:46:44 +01:00
parent ddd6de4ac6
commit cfe45eb0ad
No known key found for this signature in database
GPG key ID: 77DCA801362E9645

View file

@ -29,8 +29,9 @@ public class ListCommand extends ExecutableDiscordCommand {
.setTitle(String.format("Player List - %s",
MainConfig.getString(ConfigurationEntry.SERVER_NAME)))
.setDescription(
String.format("There are %s / %s online players", Bukkit.getOnlinePlayers().size(),
VanishManager.getFakeOnlinePlayers()));
String.format("There are %s / %s online players",
VanishManager.getFakeOnlinePlayers(),
Bukkit.getMaxPlayers()));
List<PlayerRank> inGameRanks = new ArrayList<>();