diff options
author | snowleo <schneeleo@gmail.com> | 2011-07-23 02:39:37 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-07-23 02:39:37 +0200 |
commit | 57bee443b1cecf0516b4c3d8733fc4382cf3f17d (patch) | |
tree | a3241f3d9d602ab24c1fcbdf12b41d9b5081c961 /EssentialsChat/src/com/earth2me/essentials/chat | |
parent | 621618e41fe1b8b4021aade20ee32693b3528bb3 (diff) | |
parent | 0f3c0e82f23a700c79e752592d5c01a42f7bcbbe (diff) | |
download | Essentials-57bee443b1cecf0516b4c3d8733fc4382cf3f17d.tar Essentials-57bee443b1cecf0516b4c3d8733fc4382cf3f17d.tar.gz Essentials-57bee443b1cecf0516b4c3d8733fc4382cf3f17d.tar.lz Essentials-57bee443b1cecf0516b4c3d8733fc4382cf3f17d.tar.xz Essentials-57bee443b1cecf0516b4c3d8733fc4382cf3f17d.zip |
Merge branch 'master' into release
Diffstat (limited to 'EssentialsChat/src/com/earth2me/essentials/chat')
-rw-r--r-- | EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java index bb5443a26..6b3039d0b 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java @@ -101,7 +101,7 @@ public class EssentialsChatPlayerListener extends PlayerListener { continue; } - if (!u.isAuthorized("essentials.chat.spy")) + if (!u.equals(user) && !u.isAuthorized("essentials.chat.spy")) { final Location l = u.getLocation(); final int dx = x - l.getBlockX(); |