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