From b2fd5990af424ab09bf92e17da343499a5684686 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 27 Jan 2023 00:02:05 -0600 Subject: [PATCH] added check for double mines --- src/engine/workthreads/HourlyJobThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/workthreads/HourlyJobThread.java b/src/engine/workthreads/HourlyJobThread.java index c5de4218..059072e0 100644 --- a/src/engine/workthreads/HourlyJobThread.java +++ b/src/engine/workthreads/HourlyJobThread.java @@ -196,7 +196,7 @@ public class HourlyJobThread implements Runnable { // set to the current mine window. if (mine.getOwningGuild().getNation().getMineTime() == - LocalDateTime.now().getHour()) { + LocalDateTime.now().getHour() && mine.wasClaimed == false) { HourlyJobThread.mineWindowOpen(mine); Mine.setLastChange(System.currentTimeMillis()); continue;