Sorting ignores now the case

This commit is contained in:
Fuzzlemann 2017-08-18 17:15:23 +02:00
parent 21aec1fb6d
commit bcd008cbbe

View File

@ -145,7 +145,7 @@ public class DumpUtils {
List<String> plugins = Arrays.stream(server.getPluginManager().getPlugins())
.map(Plugin::getDescription)
.map(description -> description.getName() + " " + description.getVersion())
.sorted()
.sorted(String::compareToIgnoreCase)
.collect(Collectors.toList());
log.addHeader("Server Details");