mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-03 06:57:39 +01:00
Fix for local chat not working (instead acting just like global chat)
This commit is contained in:
parent
cee0823db4
commit
602517473d
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user