mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-06 12:33:03 +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();
|
final Location playerLoc = onlineUser.getLocation();
|
||||||
if (playerLoc.getWorld() != world) {
|
if (playerLoc.getWorld() != world) {
|
||||||
abort = true;
|
abort = true;
|
||||||
|
} else if (onlineUser.isIgnoredPlayer(user)) {
|
||||||
|
abort = true;
|
||||||
} else {
|
} else {
|
||||||
final double delta = playerLoc.distanceSquared(loc);
|
final double delta = playerLoc.distanceSquared(loc);
|
||||||
if (delta > radius) {
|
if (delta > radius) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue