From 802d46d66ef728ea6b1303d360124c427bf428f1 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 23 Feb 2024 19:46:58 -0600 Subject: [PATCH] randomized mine times --- src/engine/objects/Mine.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 5d32b497..2f47b888 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -140,6 +140,8 @@ public class Mine extends AbstractGameObject { if(DateTime.now().dayOfWeek().getName().toLowerCase().equals("saturday")){ mine.mineTime += 7; } + if(mine.mineTime >= 24) + mine.mineTime -= 24; } public static void releaseMineClaims(PlayerCharacter playerCharacter) {