Factions/src/org/mcteam/factions/commands/FCommandRelationEnemy.java
Andy Buchholz bffa9df8f7 * added lock switch to all write actions
* added saveall command to save everything to disk
* added reload command to reload everything from disk
2011-05-08 17:16:43 +02:00

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));
}
}