From 61df76c80afaabc4b4b6259e7cbfefc620af6d43 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 18 Feb 2023 13:58:49 -0600 Subject: [PATCH] mines default to not be claimed at hour 1400 --- src/engine/workthreads/HourlyJobThread.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engine/workthreads/HourlyJobThread.java b/src/engine/workthreads/HourlyJobThread.java index 059072e0..54605c20 100644 --- a/src/engine/workthreads/HourlyJobThread.java +++ b/src/engine/workthreads/HourlyJobThread.java @@ -181,7 +181,9 @@ public class HourlyJobThread implements Runnable { ArrayList mines = Mine.getMines(); for (Mine mine : mines) { - + if(LocalDateTime.now().getHour() == 1400){ + mine.wasClaimed = false; + } try { // Open Errant Mines