From d0cf94dbf94fc56c31c40f890b6ec19101447912 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 13 Jan 2023 09:13:53 -0500 Subject: [PATCH] HandleEndMineWindow will bump the date for us. --- src/engine/objects/Mine.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 0300246a..f201d010 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -148,11 +148,6 @@ public class Mine extends AbstractGameObject { if (mineOpenDateTime != null) this.openDate = mineOpenDateTime.toLocalDateTime(); - // Set opendate to tomorrow if window has passed - - if (LocalDateTime.now().isAfter(this.openDate.plusHours(1))) - this.openDate = LocalDateTime.now().plusDays(1).withHour(this.openDate.getHour()).withMinute(0).withSecond(0).withNano(0); - } public static void SendMineAttackMessage(Building mine){