diff options
author | Brettflan <dsr@fenrisoft.com> | 2011-07-20 18:08:02 -0500 |
---|---|---|
committer | Brettflan <dsr@fenrisoft.com> | 2011-07-20 18:08:02 -0500 |
commit | 602517473d47971bc80a34620f1ad56af66e28a3 (patch) | |
tree | 805625ef39372d3a6ff5c200e1795d34ebe5001c /EssentialsChat | |
parent | cee0823db41abb93557de04d18f7d86c5ddd125a (diff) | |
download | Essentials-602517473d47971bc80a34620f1ad56af66e28a3.tar Essentials-602517473d47971bc80a34620f1ad56af66e28a3.tar.gz Essentials-602517473d47971bc80a34620f1ad56af66e28a3.tar.lz Essentials-602517473d47971bc80a34620f1ad56af66e28a3.tar.xz Essentials-602517473d47971bc80a34620f1ad56af66e28a3.zip |
Fix for local chat not working (instead acting just like global chat)
Diffstat (limited to 'EssentialsChat')
-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 b38073909..c4874d631 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java @@ -100,7 +100,7 @@ public class EssentialsChatPlayerListener extends PlayerListener { continue; } - if (u.equals(user) && !u.isAuthorized("essentials.chat.spy")) + if (!u.equals(user) && !u.isAuthorized("essentials.chat.spy")) { final Location l = u.getLocation(); final int dx = Math.abs(x - l.getBlockX()); |