mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-07 15:48:43 +00:00
parent
ab087e941e
commit
87c6672212
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,8 @@ public class Commandme extends EssentialsCommand {
|
|||
final Location playerLoc = onlineUser.getLocation();
|
||||
if (playerLoc.getWorld() != world) {
|
||||
abort = true;
|
||||
} else if (onlineUser.isIgnoredPlayer(user)) {
|
||||
abort = true;
|
||||
} else {
|
||||
final double delta = playerLoc.distanceSquared(loc);
|
||||
if (delta > radius) {
|
||||
|
|
Loading…
Reference in a new issue