mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-03 22:08:28 +00:00
Fix this
This commit is contained in:
parent
a56a9208a1
commit
e4bd897094
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue