mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-05 23:08:23 +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) {
|
if (args.length < 1) {
|
||||||
throw new NotEnoughArgumentsException();
|
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 showIp = getTFMHandler().isAdmin(sender.getPlayer());
|
||||||
final boolean showLocation = 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;
|
User player;
|
||||||
// Check by uuid, if it fails check by name.
|
// Check by uuid, if it fails check by name.
|
||||||
|
|
Loading…
Reference in a new issue