1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-16 03:24:31 +02:00

Fix for local chat not working (instead acting just like global chat)

This commit is contained in:
Brettflan
2011-07-20 18:08:02 -05:00
parent 64445a57f0
commit 8de179d772

View File

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