Open ghost opened 5 years ago
Help please => https://image.noelshack.com/fichiers/2018/49/2/1543955484-capture.png
`public class CmdFactionsSetOne extends CmdFactionsSetXSimple { // -------------------------------------------- // // CONSTRUCT // -------------------------------------------- //
public CmdFactionsSetOne(boolean claim) { // Super super(claim); // Aliases this.addAliases("one"); // Requirements this.addRequirements(ReqIsPlayer.get()); String node = claim ? Perm.CLAIM_ONE.node : Perm.UNCLAIM_ONE.node ; this.addRequirements(ReqHasPerm.get(node)); } // -------------------------------------------- // // OVERRIDE // -------------------------------------------- // @Override public Set<PS> getChunks() { final PS chunk = PS.valueOf(me.getLocation()).getChunk(true); final Set<PS> chunks = Collections.singleton(chunk); return chunks; }
}`
Read the error in your console and post it here.
Help please => https://image.noelshack.com/fichiers/2018/49/2/1543955484-capture.png
`public class CmdFactionsSetOne extends CmdFactionsSetXSimple { // -------------------------------------------- // // CONSTRUCT // -------------------------------------------- //
}`