bffa9df8f7
* added saveall command to save everything to disk * added reload command to reload everything from disk
22 lines
354 B
Java
22 lines
354 B
Java
package org.mcteam.factions.commands;
|
|
|
|
import org.mcteam.factions.struct.Relation;
|
|
|
|
public class FCommandRelationEnemy extends FRelationCommand {
|
|
|
|
public FCommandRelationEnemy() {
|
|
aliases.add("enemy");
|
|
}
|
|
|
|
public void perform() {
|
|
|
|
if( isLocked() ) {
|
|
sendLockMessage();
|
|
return;
|
|
}
|
|
|
|
relation(Relation.ENEMY, parameters.get(0));
|
|
}
|
|
|
|
}
|