mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 14:12:20 -07:00
Added new methods to Server, Player and OfflinePlayer for banning and unbanning
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -240,4 +240,8 @@ public final class Bukkit {
|
||||
public static void unbanIP(String address) {
|
||||
server.unbanIP(address);
|
||||
}
|
||||
|
||||
public Set<OfflinePlayer> getBannedPlayers() {
|
||||
return server.getBannedPlayers();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user