mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-05 23:08:23 +00:00
Use bukkit api for chat user list
This commit is contained in:
parent
6c3b2076ff
commit
4cec7fe5c1
1 changed files with 1 additions and 5 deletions
|
@ -134,14 +134,10 @@ public abstract class EssentialsChatPlayer implements Listener
|
|||
return;
|
||||
}
|
||||
|
||||
for (Player onlinePlayer : server.getOnlinePlayers())
|
||||
for (Player onlinePlayer : event.getRecipients())
|
||||
{
|
||||
String type = _("chatTypeLocal");
|
||||
final User onlineUser = ess.getUser(onlinePlayer);
|
||||
if (onlineUser.isIgnoredPlayer(sender))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if (!onlineUser.equals(sender))
|
||||
{
|
||||
boolean abort = false;
|
||||
|
|
Loading…
Reference in a new issue