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

23 lines
373 B
Java

package org.mcteam.factions.commands;
import org.mcteam.factions.struct.Relation;
public class FCommandRelationNeutral extends FRelationCommand {
public FCommandRelationNeutral() {
aliases.add("neutral");
}
@Override
public void perform() {
if( isLocked() ) {
sendLockMessage();
return;
}
relation(Relation.NEUTRAL, parameters.get(0));
}
}