Standardize /getpos and /whois to use essentials.vanish.interact like all other commands.

This commit is contained in:
KHobbits 2013-05-26 17:20:03 +01:00
parent 88c5b64694
commit 160a1a04eb
3 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ public class Commandlist extends EssentialsCommand
boolean showHidden = true;
if (sender instanceof Player)
{
showHidden = ess.getUser(sender).isAuthorized("essentials.list.hidden");
showHidden = ess.getUser(sender).isAuthorized("essentials.list.hidden") || ess.getUser(sender).isAuthorized("essentials.vanish.interact");
}
sender.sendMessage(listSummary(server, showHidden));