mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00: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
1 changed files with 3 additions and 0 deletions
|
@ -105,6 +105,9 @@ public class EssentialsChatWorker
|
||||||
for (Player p : server.getOnlinePlayers())
|
for (Player p : server.getOnlinePlayers())
|
||||||
{
|
{
|
||||||
User u = Essentials.getStatic().getUser(p);
|
User u = Essentials.getStatic().getUser(p);
|
||||||
|
if (u.isIgnoredPlayer(user.getName()) && !user.isOp()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (u != user && !u.isAuthorized("essentials.chat.spy"))
|
if (u != user && !u.isAuthorized("essentials.chat.spy"))
|
||||||
{
|
{
|
||||||
Location l = u.getLocation();
|
Location l = u.getLocation();
|
||||||
|
|
Loading…
Reference in a new issue