diff --git a/src/engine/workthreads/HourlyJobThread.java b/src/engine/workthreads/HourlyJobThread.java index dbf17e0c..550f103a 100644 --- a/src/engine/workthreads/HourlyJobThread.java +++ b/src/engine/workthreads/HourlyJobThread.java @@ -139,6 +139,8 @@ public class HourlyJobThread implements Runnable { // We can early exit here. if (mineBuilding.getRank() > 0) { + Logger.debug("Mine still standing when closing window. Mine Object UUID: " + mine.getObjectUUID() + " Building Id: " + mine.getBuildingID()); + mine.setActive(false); mine.lastClaimer = null; return true; @@ -149,6 +151,8 @@ public class HourlyJobThread implements Runnable { // and keep the window open. if (!Mine.validateClaimer(mine.lastClaimer)) { + Logger.debug("Mine has no valid claimer when closing window. Mine Object UUID: " + mine.getObjectUUID() + " Building Id: " + mine.getBuildingID()); + mine.lastClaimer = null; mine.updateGuildOwner(null); mine.setActive(true); @@ -157,6 +161,8 @@ public class HourlyJobThread implements Runnable { //Update ownership to map + Logger.debug("Mine ownership changing when closing window. Mine Object UUID: " + mine.getObjectUUID() + " Building Id: " + mine.getBuildingID() + " new owning guild: " + mine.getOwningGuild().getObjectUUID()); + mine.guildName = mine.getOwningGuild().getName(); mine.guildTag = mine.getOwningGuild().getGuildTag(); Guild nation = mine.getOwningGuild().getNation();