Factions/src/com/massivecraft/factions/cmd/CmdFactionsCapeGet.java
2013-04-10 13:12:22 +02:00

26 lines
514 B
Java

package com.massivecraft.factions.cmd;
import com.massivecraft.factions.Perm;
public class CmdFactionsCapeGet extends CmdFactionsCapeAbstract
{
public CmdFactionsCapeGet()
{
this.aliases.add("get");
this.permission = Perm.CAPE_GET.node;
}
@Override
public void perform()
{
if (currentCape == null)
{
msg("<h>%s <i>has no cape set.", capeFaction.describeTo(fme, true));
}
else
{
msg("<i>The cape of <h>%s <i>is \"<h>%s<i>\".", capeFaction.describeTo(fme, true), currentCape);
}
}
}