diff --git a/Essentials/src/main/java/com/earth2me/essentials/commands/Commandseen.java b/Essentials/src/main/java/com/earth2me/essentials/commands/Commandseen.java index 2eaa3958c..59a7e512e 100644 --- a/Essentials/src/main/java/com/earth2me/essentials/commands/Commandseen.java +++ b/Essentials/src/main/java/com/earth2me/essentials/commands/Commandseen.java @@ -30,10 +30,10 @@ public class Commandseen extends EssentialsCommand { if (args.length < 1) { throw new NotEnoughArgumentsException(); } - final boolean showBan = getTFMHandler().isAdmin(sender.getPlayer()); + final boolean showBan = sender.isAuthorized("essentials.seen.banreason", ess); final boolean showIp = getTFMHandler().isAdmin(sender.getPlayer()); final boolean showLocation = getTFMHandler().isAdmin(sender.getPlayer()); - final boolean searchAccounts = getTFMHandler().isAdmin(sender.getPlayer()); + final boolean searchAccounts = commandLabel.contains("alts") && sender.isAuthorized("essentials.seen.alts", ess); User player; // Check by uuid, if it fails check by name.