mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 14:12:20 -07:00
Added Server.getOperators to return all server operators
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -273,4 +273,8 @@ public final class Bukkit {
|
||||
public static ConsoleCommandSender getConsoleSender() {
|
||||
return server.getConsoleSender();
|
||||
}
|
||||
|
||||
public static Set<OfflinePlayer> getOperators() {
|
||||
return server.getOperators();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user