diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 1e25ab47..239cf197 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -288,7 +288,7 @@ try{ // Adjust the serialized mine time based upon whether // the Guild's mine window has passed or not. - if (mineOwnerGuild != null) { + if (mineOwnerGuild.isErrant() == false) { int guildWOO = mineOwnerGuild.getMineTime(); LocalDateTime guildMineTime = mineTime.withHour(guildWOO); diff --git a/src/engine/workthreads/HourlyJobThread.java b/src/engine/workthreads/HourlyJobThread.java index 2a864421..a98946ef 100644 --- a/src/engine/workthreads/HourlyJobThread.java +++ b/src/engine/workthreads/HourlyJobThread.java @@ -105,7 +105,7 @@ public class HourlyJobThread implements Runnable { // Open Errant Mines - if (mine.getOwningGuild() == null) { + if (mine.getOwningGuild().isErrant()) { mine.handleStartMineWindow(); Mine.setLastChange(System.currentTimeMillis()); continue;