1
0
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:
ementalo
2012-07-20 12:12:21 +01:00
parent ea1cce76f9
commit 26e5b52c26
60 changed files with 172 additions and 201 deletions

View File

@@ -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);