mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-14 12:48:34 +00:00
[Breaking] Remove rank stuff from database
This commit is contained in:
@ -283,7 +283,7 @@ public class PlexUtils implements PlexBase
|
||||
|
||||
public static void broadcastToAdmins(Component component, String permission)
|
||||
{
|
||||
Bukkit.getOnlinePlayers().stream().filter(pl -> plugin.getPlayerCache().getPlexPlayer(pl.getUniqueId()).isAdminActive() || pl.hasPermission(permission)).forEach(pl ->
|
||||
Bukkit.getOnlinePlayers().stream().filter(pl -> pl.hasPermission(permission)).forEach(pl ->
|
||||
{
|
||||
pl.sendMessage(component);
|
||||
});
|
||||
|
Reference in New Issue
Block a user