Added forgotten type adapters.

This commit is contained in:
Olof Larsson
2011-10-10 14:21:22 +02:00
parent 1d44aa0c9c
commit 80d132af70
6 changed files with 16 additions and 123 deletions

View File

@ -33,7 +33,7 @@ public class CmdDeinvite extends FCommand
if (you.getFaction() == myFaction)
{
msg("%s<i> is already a member of %s", you.getName(), myFaction.getTag());
msg("<i>You might want to: %s", new CmdKick().getUseageTemplate(false));
msg("<i>You might want to: %s", p.cmdBase.cmdKick.getUseageTemplate(false));
return;
}

View File

@ -14,6 +14,7 @@ public class CmdDescription extends FCommand
this.aliases.add("desc");
this.requiredArgs.add("desc");
this.errorOnToManyArgs = false;
//this.optionalArgs
this.permission = Permission.DESCRIPTION.node;

View File

@ -33,7 +33,7 @@ public class CmdInvite extends FCommand
if (you.getFaction() == myFaction)
{
msg("%s<i> is already a member of %s", you.getName(), myFaction.getTag());
msg("<i>You might want to: " + new CmdKick().getUseageTemplate(false));
msg("<i>You might want to: " + p.cmdBase.cmdKick.getUseageTemplate(false));
return;
}

View File

@ -35,7 +35,7 @@ public class CmdKick extends FCommand
if (fme == you)
{
msg("<b>You cannot kick yourself.");
msg("<i>You might want to: %s", new CmdLeave().getUseageTemplate(false));
msg("<i>You might want to: %s", p.cmdBase.cmdLeave.getUseageTemplate(false));
return;
}