13
0
geforkt von Mirrors/Paper

Changes '/whitelist list' to ignore comments. Addresses BUKKIT-1804

By: Jeff Wardian <krinsdeath@hotmail.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2012-06-14 22:31:47 -05:00
Ursprung b92707d6ea
Commit 86a06cd622

Datei anzeigen

@ -1029,6 +1029,9 @@ public final class CraftServer implements Server {
Set<OfflinePlayer> result = new LinkedHashSet<OfflinePlayer>();
for (Object name : server.getWhitelisted()) {
if (((String)name).length() == 0 || ((String)name).startsWith("#")) {
continue;
}
result.add(getOfflinePlayer((String) name));
}