Factions/src/org/mcteam/factions/commands/FCommandClaim.java

25 lines
377 B
Java
Raw Normal View History

2011-04-08 15:51:07 +02:00
package org.mcteam.factions.commands;
public class FCommandClaim extends FBaseCommand {
public FCommandClaim() {
aliases.add("claim");
helpDescription = "Claim the land where you are standing";
}
public void perform() {
if ( ! assertHasFaction()) {
return;
}
if( isLocked() ) {
sendLockMessage();
return;
}
me.attemptClaim(true);
}
}