More work at streamlining the command constructor content

This commit is contained in:
Olof Larsson
2013-04-16 10:30:21 +02:00
parent 4c0adc523a
commit a84582ba21
47 changed files with 72 additions and 190 deletions

View File

@@ -16,12 +16,10 @@ public class CmdFactionsLeader extends FCommand
{
public CmdFactionsLeader()
{
super();
this.addAliases("leader");
this.requiredArgs.add("player");
this.optionalArgs.put("faction", "your");
this.addRequiredArg("player");
this.addOptionalArg("faction", "you");
this.addRequirements(ReqHasPerm.get(Perm.LEADER.node));
}