mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-23 03:54:56 +00:00
Fix list command
This commit is contained in:
parent
ddd6de4ac6
commit
cfe45eb0ad
1 changed files with 3 additions and 2 deletions
|
@ -29,8 +29,9 @@ public class ListCommand extends ExecutableDiscordCommand {
|
||||||
.setTitle(String.format("Player List - %s",
|
.setTitle(String.format("Player List - %s",
|
||||||
MainConfig.getString(ConfigurationEntry.SERVER_NAME)))
|
MainConfig.getString(ConfigurationEntry.SERVER_NAME)))
|
||||||
.setDescription(
|
.setDescription(
|
||||||
String.format("There are %s / %s online players", Bukkit.getOnlinePlayers().size(),
|
String.format("There are %s / %s online players",
|
||||||
VanishManager.getFakeOnlinePlayers()));
|
VanishManager.getFakeOnlinePlayers(),
|
||||||
|
Bukkit.getMaxPlayers()));
|
||||||
|
|
||||||
List<PlayerRank> inGameRanks = new ArrayList<>();
|
List<PlayerRank> inGameRanks = new ArrayList<>();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue