diff --git a/Commons/bukkit/src/main/java/tc/oc/commons/bukkit/commands/MiscCommands.java b/Commons/bukkit/src/main/java/tc/oc/commons/bukkit/commands/MiscCommands.java index 1a78ac6..a129419 100644 --- a/Commons/bukkit/src/main/java/tc/oc/commons/bukkit/commands/MiscCommands.java +++ b/Commons/bukkit/src/main/java/tc/oc/commons/bukkit/commands/MiscCommands.java @@ -62,7 +62,7 @@ public class MiscCommands implements Commands { if (args.hasFlag('a')) { Map playerCountVersionMap = new HashMap<>(); userStore.stream().forEach(player -> { - String version = MinecraftVersion.describeProtocol(player.getProtocolVersion(), args.hasFlag('d')); + String version = MinecraftVersion.describeProtocol(player.getProtocolVersion(), !args.hasFlag('d')); playerCountVersionMap.put(version, playerCountVersionMap.getOrDefault(version, 0) + 1); });