Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 17:20:24 +01:00
Construct List properly, Fix #314
Dieser Commit ist enthalten in:
Ursprung
de576795dc
Commit
1fa7211cf0
@ -34,7 +34,8 @@ public class ListSubCmd extends ViaSubCommand {
|
|||||||
playerVersions.get(playerVersion).add(p.getName());
|
playerVersions.get(playerVersion).add(p.getName());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
playerVersions.put(playerVersion, Collections.singleton(p.getName()));
|
playerVersions.put(playerVersion, new HashSet<String>()).add(p.getName());
|
||||||
|
|
||||||
}
|
}
|
||||||
Map<Integer, Set<String>> sorted = new TreeMap<>(playerVersions);
|
Map<Integer, Set<String>> sorted = new TreeMap<>(playerVersions);
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren