Factions/src/com/massivecraft/factions/cmd/CmdFactionsCapeGet.java

26 lines
514 B
Java
Raw Normal View History

package com.massivecraft.factions.cmd;
import com.massivecraft.factions.Perm;
2013-04-10 13:12:22 +02:00
public class CmdFactionsCapeGet extends CmdFactionsCapeAbstract
{
2013-04-10 13:12:22 +02:00
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);
}
}
}