From 7539505956c391746be32fc7f09b31085642ccdf Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 20 Jan 2023 13:54:36 -0500 Subject: [PATCH] Mine claims released upon death. --- src/engine/objects/PlayerCharacter.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 596d955f..0545a150 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -633,7 +633,11 @@ public class PlayerCharacter extends AbstractCharacter { this.setDesiredAltitude(0); this.altitude = (float) 0; - this.getCharItemManager().closeTradeWindow(); + // Release Mine Claims + + Mine.releaseMineClaims(this); + + this.getCharItemManager().closeTradeWindow(); //increment live counter. This is to prevent double kills from casts this.liveCounter++;