From bd5061a7e86d3ebac4a1bdbcf87d1224ad21b52d Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 23 May 2024 18:14:17 -0500 Subject: [PATCH] new mines system --- src/engine/objects/Mine.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index c2baf564..7e73f855 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -295,10 +295,10 @@ public class Mine extends AbstractGameObject { LocalDateTime mineOpenTime;// = LocalDateTime.now().withMinute(0).withSecond(0).withNano(0); if(mine.firstThirty == true){ - mineOpenTime = LocalDateTime.now().withHour(mine.liveHour).withMinute(0).withSecond(0).withNano(0); + mineOpenTime = LocalDateTime.now().withHour(mine.liveHour).withMinute(0).withSecond(0).withNano(0).plusHours(5); } else{ - mineOpenTime = LocalDateTime.now().withHour(mine.liveHour).withMinute(30).withSecond(0).withNano(0); + mineOpenTime = LocalDateTime.now().withHour(mine.liveHour).withMinute(30).withSecond(0).withNano(0).plusHours(5); } LocalDateTime mineCloseTime = mineOpenTime.plusMinutes(30);