Factions/src/com/massivecraft/factions/commands/FCommandClaim.java

26 lines
390 B
Java
Raw Normal View History

2011-07-18 22:06:02 +02:00
package com.massivecraft.factions.commands;
2011-10-08 23:22:02 +02:00
public class FCommandClaim extends FCommand {
public FCommandClaim() {
aliases.add("claim");
helpDescription = "Claim the land where you are standing";
}
@Override
public void perform() {
if ( ! assertHasFaction()) {
return;
}
if( isLocked() ) {
sendLockMessage();
return;
}
me.attemptClaim(true);
}
}