mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-07 15:48:43 +00:00
Fix for local chat not working (instead acting just like global chat)
This commit is contained in:
parent
cee0823db4
commit
602517473d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue