From 9442bb1d39914a5dff2821f2a3259b52f48e9c3a Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 19 Jan 2023 16:49:36 -0500 Subject: [PATCH] Debugging code removed. --- src/engine/objects/Mine.java | 3 --- src/engine/workthreads/HourlyJobThread.java | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 97029d18..cfc8265f 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -100,9 +100,6 @@ public class Mine extends AbstractGameObject { this.zoneName = "Unknown Mine"; } - if (ownerUID == 0) - ownerUID = ownerUID - 1 + 1; - this.owningGuild = Guild.getGuild(ownerUID); Guild nation = null; diff --git a/src/engine/workthreads/HourlyJobThread.java b/src/engine/workthreads/HourlyJobThread.java index 3d635191..a98946ef 100644 --- a/src/engine/workthreads/HourlyJobThread.java +++ b/src/engine/workthreads/HourlyJobThread.java @@ -102,11 +102,8 @@ public class HourlyJobThread implements Runnable { for (Mine mine : mines) { try { - int foo; - // Open Errant Mines - if (mine.getBuildingID() == 1250) - foo = 1; + // Open Errant Mines if (mine.getOwningGuild().isErrant()) { mine.handleStartMineWindow();