23 lines
385 B
Java
23 lines
385 B
Java
package com.massivecraft.factions.commands;
|
|
|
|
import com.massivecraft.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));
|
|
}
|
|
|
|
}
|