Fix issue with cross world local chat.

This commit is contained in:
md_5 2012-06-26 18:13:53 +10:00
parent 0395b5d222
commit 69ff8b28d8

View file

@ -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"))