Showing Dropping Anvil Something (Ignore)

This commit is contained in:
Driftay
2019-09-15 05:12:52 -04:00
parent e07dc303ef
commit 2a1a8db554
285 changed files with 28746 additions and 28746 deletions

View File

@@ -9,39 +9,39 @@ import com.massivecraft.factions.zcore.util.TL;
public class CmdPoints extends FCommand {
public CmdPointsRemove cmdPointsRemove = new CmdPointsRemove();
public CmdPointsSet cmdPointsSet = new CmdPointsSet();
public CmdPointsAdd cmdPointsAdd = new CmdPointsAdd();
public CmdPointsRemove cmdPointsRemove = new CmdPointsRemove();
public CmdPointsSet cmdPointsSet = new CmdPointsSet();
public CmdPointsAdd cmdPointsAdd = new CmdPointsAdd();
public CmdPoints() {
super();
this.aliases.add("points");
public CmdPoints() {
super();
this.aliases.add("points");
this.requirements = new CommandRequirements.Builder(Permission.POINTS)
.playerOnly()
.build();
this.requirements = new CommandRequirements.Builder(Permission.POINTS)
.playerOnly()
.build();
this.addSubCommand(this.cmdPointsAdd);
this.addSubCommand(this.cmdPointsRemove);
this.addSubCommand(this.cmdPointsSet);
}
this.addSubCommand(this.cmdPointsAdd);
this.addSubCommand(this.cmdPointsRemove);
this.addSubCommand(this.cmdPointsSet);
}
@Override
public void perform(CommandContext context) {
if (!FactionsPlugin.getInstance().getConfig().getBoolean("f-points.Enabled", true)) {
context.msg(TL.GENERIC_DISABLED);
return;
}
context.commandChain.add(this);
FactionsPlugin.getInstance().cmdAutoHelp.execute(context);
}
@Override
public void perform(CommandContext context) {
if (!FactionsPlugin.getInstance().getConfig().getBoolean("f-points.Enabled", true)) {
context.msg(TL.GENERIC_DISABLED);
return;
}
context.commandChain.add(this);
FactionsPlugin.getInstance().cmdAutoHelp.execute(context);
}
@Override
public TL getUsageTranslation() {
return TL.COMMAND_POINTS_DESCRIPTION;
}
@Override
public TL getUsageTranslation() {
return TL.COMMAND_POINTS_DESCRIPTION;
}
}