TntFill Fixed & Code Cleanup

This commit is contained in:
Driftay
2020-01-18 02:18:38 -05:00
parent e3e6f5561c
commit 51838df0d7
49 changed files with 460 additions and 399 deletions

View File

@@ -26,10 +26,11 @@ public class CmdAudit extends FCommand {
.noErrorOnManyArgs()
.build();
}
@Override
public void perform(CommandContext context) {
Faction faction = context.args.size() == 1 && context.sender.isOp() ? context.argAsFaction(0) : context.faction;
new FAuditMenu((Player)context.sender, faction).open((Player)context.sender);
new FAuditMenu((Player) context.sender, faction).open((Player) context.sender);
}
@Override