mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-17 12:01:20 +02:00
Fix for local chat not working (instead acting just like global chat)
This commit is contained in:
@@ -100,7 +100,7 @@ public class EssentialsChatPlayerListener extends PlayerListener
|
|||||||
{
|
{
|
||||||
continue;
|
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 Location l = u.getLocation();
|
||||||
final int dx = Math.abs(x - l.getBlockX());
|
final int dx = Math.abs(x - l.getBlockX());
|
||||||
|
Reference in New Issue
Block a user