Saber-Factions/src/com/bukkit/mcteam/factions/commands/FCommandLeave.java
2011-03-22 20:36:33 +01:00

30 lines
513 B
Java

package com.bukkit.mcteam.factions.commands;
import java.util.ArrayList;
public class FCommandLeave extends FBaseCommand {
public FCommandLeave() {
aliases = new ArrayList<String>();
aliases.add("leave");
requiredParameters = new ArrayList<String>();
optionalParameters = new ArrayList<String>();
permissions = "";
senderMustBePlayer = true;
helpDescription = "Leave your faction";
}
public void perform() {
if ( ! assertHasFaction()) {
return;
}
me.leave();
}
}