mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-22 16:37:25 +00:00
Fix issue with cross world local chat.
This commit is contained in:
parent
0395b5d222
commit
69ff8b28d8
1 changed files with 6 additions and 3 deletions
|
@ -133,10 +133,13 @@ public abstract class EssentialsChatPlayer implements Listener
|
||||||
{
|
{
|
||||||
abort = true;
|
abort = true;
|
||||||
}
|
}
|
||||||
final double delta = playerLoc.distanceSquared(loc);
|
else
|
||||||
if (delta > chatStore.getRadius())
|
|
||||||
{
|
{
|
||||||
abort = true;
|
final double delta = playerLoc.distanceSquared(loc);
|
||||||
|
if (delta > chatStore.getRadius())
|
||||||
|
{
|
||||||
|
abort = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (abort)
|
if (abort)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue