Add ignore check for /me (#1768). Resolves #1767

This commit is contained in:
Johnny Cao 2018-01-16 04:33:35 -08:00 committed by Ali 'SupaHam' M
parent ab087e941e
commit 87c6672212

View file

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