Factions/src/com/massivecraft/factions/cmd/CmdFactionsSetXSimple.java

25 lines
498 B
Java
Raw Normal View History

package com.massivecraft.factions.cmd;
import com.massivecraft.factions.cmd.type.TypeFaction;
2015-05-06 17:04:35 +02:00
public abstract class CmdFactionsSetXSimple extends CmdFactionsSetX
{
// -------------------------------------------- //
// CONSTRUCT
// -------------------------------------------- //
2014-11-19 10:30:44 +01:00
public CmdFactionsSetXSimple(boolean claim)
{
2014-11-19 10:30:44 +01:00
// Super
super(claim);
// Parameters
2014-11-19 10:30:44 +01:00
if (claim)
{
this.addParameter(TypeFaction.get(), "faction", "you");
2014-11-19 10:30:44 +01:00
this.setFactionArgIndex(0);
}
}
}