Rename command files
This commit is contained in:
25
src/com/massivecraft/factions/cmd/CmdFactionsCapeGet.java
Normal file
25
src/com/massivecraft/factions/cmd/CmdFactionsCapeGet.java
Normal file
@@ -0,0 +1,25 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user