Saber-Factions/src/org/mcteam/factions/commands/FCommandRelationAlly.java

22 lines
350 B
Java
Raw Normal View History

2011-04-08 15:51:07 +02:00
package org.mcteam.factions.commands;
2011-04-08 15:51:07 +02:00
import org.mcteam.factions.struct.Relation;
public class FCommandRelationAlly extends FRelationCommand {
public FCommandRelationAlly() {
aliases.add("ally");
}
public void perform() {
if( isLocked() ) {
sendLockMessage();
return;
}
relation(Relation.ALLY, parameters.get(0));
}
}