package com.massivecraft.factions.cmd; import com.massivecraft.factions.Perm; import com.massivecraft.mcore.cmd.req.ReqHasPerm; public class CmdFactionsCapeGet extends CmdFactionsCapeAbstract { public CmdFactionsCapeGet() { this.addAliases("get"); this.addRequirements(ReqHasPerm.get(Perm.CAPE_GET.node)); } @Override public void perform() { if (currentCape == null) { msg("%s has no cape set.", capeFaction.describeTo(fme, true)); } else { msg("The cape of %s is \"%s\".", capeFaction.describeTo(fme, true), currentCape); } } }