mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-03-01 12:45:50 +08:00
parent
ab087e941e
commit
87c6672212
@ -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 New Issue
Block a user