Added Server.getOperators to return all server operators

This commit is contained in:
Dinnerbone
2011-09-25 03:27:44 +01:00
parent ebca437ec7
commit fcac5c694d
2 changed files with 11 additions and 0 deletions

View File

@@ -273,4 +273,8 @@ public final class Bukkit {
public static ConsoleCommandSender getConsoleSender() {
return server.getConsoleSender();
}
public static Set<OfflinePlayer> getOperators() {
return server.getOperators();
}
}