mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-31 10:11:46 +02:00
Some user matching updates
This commit is contained in:
@@ -48,7 +48,7 @@ public class EssentialsConnect
|
||||
LOGGER.log(Level.WARNING, warnMessage);
|
||||
for (Player p : ess.getServer().getOnlinePlayers())
|
||||
{
|
||||
final IUser alertUser = ess.getUser(p);
|
||||
final IUser alertUser = ess.getUserMap().getUser(p);
|
||||
if (Permissions.ALERTS.isAuthorized(alertUser))
|
||||
{
|
||||
alertUser.sendMessage(warnMessage);
|
||||
|
Reference in New Issue
Block a user