bffa9df8f7
* added saveall command to save everything to disk * added reload command to reload everything from disk
22 lines
350 B
Java
22 lines
350 B
Java
package org.mcteam.factions.commands;
|
|
|
|
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));
|
|
}
|
|
|
|
}
|