Actually allow setting of truce
This commit is contained in:
parent
687bac31db
commit
7a4ddc6855
@ -0,0 +1,11 @@
|
|||||||
|
package com.massivecraft.factions.cmd;
|
||||||
|
|
||||||
|
import com.massivecraft.factions.struct.Relation;
|
||||||
|
|
||||||
|
public class CmdRelationTruce extends FRelationCommand {
|
||||||
|
|
||||||
|
public CmdRelationTruce() {
|
||||||
|
aliases.add("truce");
|
||||||
|
targetRelation = Relation.TRUCE;
|
||||||
|
}
|
||||||
|
}
|
@ -42,6 +42,7 @@ public class FCmdRoot extends FCommand {
|
|||||||
public CmdRelationAlly cmdRelationAlly = new CmdRelationAlly();
|
public CmdRelationAlly cmdRelationAlly = new CmdRelationAlly();
|
||||||
public CmdRelationEnemy cmdRelationEnemy = new CmdRelationEnemy();
|
public CmdRelationEnemy cmdRelationEnemy = new CmdRelationEnemy();
|
||||||
public CmdRelationNeutral cmdRelationNeutral = new CmdRelationNeutral();
|
public CmdRelationNeutral cmdRelationNeutral = new CmdRelationNeutral();
|
||||||
|
public CmdRelationTruce cmdRelationTruce = new CmdRelationTruce();
|
||||||
public CmdReload cmdReload = new CmdReload();
|
public CmdReload cmdReload = new CmdReload();
|
||||||
public CmdSafeunclaimall cmdSafeunclaimall = new CmdSafeunclaimall();
|
public CmdSafeunclaimall cmdSafeunclaimall = new CmdSafeunclaimall();
|
||||||
public CmdSaveAll cmdSaveAll = new CmdSaveAll();
|
public CmdSaveAll cmdSaveAll = new CmdSaveAll();
|
||||||
@ -127,6 +128,7 @@ public class FCmdRoot extends FCommand {
|
|||||||
this.addSubCommand(this.cmdRelationAlly);
|
this.addSubCommand(this.cmdRelationAlly);
|
||||||
this.addSubCommand(this.cmdRelationEnemy);
|
this.addSubCommand(this.cmdRelationEnemy);
|
||||||
this.addSubCommand(this.cmdRelationNeutral);
|
this.addSubCommand(this.cmdRelationNeutral);
|
||||||
|
this.addSubCommand(this.cmdRelationTruce);
|
||||||
this.addSubCommand(this.cmdReload);
|
this.addSubCommand(this.cmdReload);
|
||||||
this.addSubCommand(this.cmdSafeunclaimall);
|
this.addSubCommand(this.cmdSafeunclaimall);
|
||||||
this.addSubCommand(this.cmdSaveAll);
|
this.addSubCommand(this.cmdSaveAll);
|
||||||
|
Loading…
Reference in New Issue
Block a user