mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-01 20:30:48 +02:00
Fix issue with cross world local chat.
This commit is contained in:
@@ -133,11 +133,14 @@ public abstract class EssentialsChatPlayer implements Listener
|
||||
{
|
||||
abort = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
final double delta = playerLoc.distanceSquared(loc);
|
||||
if (delta > chatStore.getRadius())
|
||||
{
|
||||
abort = true;
|
||||
}
|
||||
}
|
||||
if (abort)
|
||||
{
|
||||
if (onlineUser.isAuthorized("essentials.chat.spy"))
|
||||
|
Reference in New Issue
Block a user