From a160df02c4dd53019df581d14fd53bbab752e72e Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 21 Apr 2024 21:33:30 -0500 Subject: [PATCH] mines fix --- src/engine/gameManager/SimulationManager.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/engine/gameManager/SimulationManager.java b/src/engine/gameManager/SimulationManager.java index d21bd621..db96ac3e 100644 --- a/src/engine/gameManager/SimulationManager.java +++ b/src/engine/gameManager/SimulationManager.java @@ -251,19 +251,19 @@ public enum SimulationManager { Logger.info(mine.getZoneName() + "'s Mine is now Active!"); continue; } - if (mine.lastClaimer == null && (LocalDateTime.now().isAfter(closeTime) || LocalDateTime.now().isBefore(openTime))) { + //if (mine.lastClaimer == null && (LocalDateTime.now().isAfter(closeTime) || LocalDateTime.now().isBefore(openTime))) { //mineWindowClose(mine); - if(mine.firstThirty) { - mine.firstThirty = false; - }else { - mine.liveTime += 1; - if(mine.liveTime == 24) - mine.liveTime = 1; - mine.firstThirty = true; - continue; - } - - } + //if(mine.firstThirty) { + // mine.firstThirty = false; + //}else { + // mine.liveTime += 1; + // if(mine.liveTime == 24) + // mine.liveTime = 1; + // mine.firstThirty = true; + // continue; + //} + + //} if (mine.isActive && mine.lastClaimer != null && (LocalDateTime.now().isAfter(closeTime) || LocalDateTime.now().isBefore(openTime))) { mineWindowClose(mine); }