Prior claims are released upon a new claim.
This commit is contained in:
1 parent
1c228df4a8
commit
3ec16d04d6
2 files changed
+15
-2
No files matched your search
@@ -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..");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user