From 53a6b0909977f0735eede74672833e4e6179e1f1 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 19 Jan 2023 15:22:12 -0500 Subject: [PATCH] Accessor level change --- src/engine/objects/Mine.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 57eba87e..7da6267b 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -48,8 +48,8 @@ public class Mine extends AbstractGameObject { private float longitude; private float altitude; private Guild owningGuild; - private PlayerCharacter lastClaimer; - private SessionID lastClaimerSessionID; + public PlayerCharacter lastClaimer; + public SessionID lastClaimerSessionID; private int flags; private int buildingID; @@ -488,11 +488,13 @@ public class Mine extends AbstractGameObject { // This mine does not have a valid claimer // we will therefore set it to errant + // and keep the window open. if (!validClaimer(this.lastClaimer)) { this.lastClaimerSessionID = null; this.lastClaimer = null; this.updateGuildOwner(null); + this.setActive(true); return false; }