mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-26 18:37:49 +01:00
Add count to /viaver list, #540
This commit is contained in:
parent
95f2b597da
commit
a2809f8d5c
@ -41,7 +41,7 @@ public class ListSubCmd extends ViaSubCommand {
|
||||
}
|
||||
|
||||
for (Map.Entry<ProtocolVersion, Set<String>> entry : playerVersions.entrySet())
|
||||
sendMessage(sender, "&8[&6%s&8]: &b%s", entry.getKey().getName(), entry.getValue());
|
||||
sendMessage(sender, "&8[&6%s&8] (&7%d&8): &b%s", entry.getKey().getName(), entry.getValue().size(), entry.getValue());
|
||||
|
||||
playerVersions.clear();
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user