mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 17:18:37 +01:00
Missing part for the /ignore command
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1478 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
e70195b170
commit
cf46d880c5
@ -105,6 +105,9 @@ public class EssentialsChatWorker
|
||||
for (Player p : server.getOnlinePlayers())
|
||||
{
|
||||
User u = Essentials.getStatic().getUser(p);
|
||||
if (u.isIgnoredPlayer(user.getName()) && !user.isOp()) {
|
||||
continue;
|
||||
}
|
||||
if (u != user && !u.isAuthorized("essentials.chat.spy"))
|
||||
{
|
||||
Location l = u.getLocation();
|
||||
|
Loading…
Reference in New Issue
Block a user