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:
snowleo 2011-05-15 12:27:23 +00:00
parent e70195b170
commit cf46d880c5

View File

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