Prior claims are released upon a new claim.

This commit is contained in:
2023-01-20 12:18:11 -05:00
parent 1c228df4a8
commit 3ec16d04d6
2 changed files with 15 additions and 2 deletions
@@ -50,6 +50,10 @@ public class ClaimMinePowerAction extends AbstractPowerAction {
if (mine == null)
return;
// Release prior claims
Mine.releaseMineClaims(playerCharacter);
if (mine.claimMine(playerCharacter) == true)
ChatManager.sendSystemMessage( (PlayerCharacter) source, "You successfully claimed this mine..");
}