diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 9603ea00..64b340d7 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -286,8 +286,15 @@ public class Mine extends AbstractGameObject { mineOpenTime = guildMineTime.plusDays(1); else mineOpenTime = guildMineTime; + + // If a mine is active serialize current datetime irrespective + // of any claim + + if (mine.isActive == true) + mineOpenTime = LocalDateTime.now().withMinute(0).withSecond(0).withNano(0); } + writer.putLocalDateTime(mineOpenTime); writer.putLocalDateTime(mineOpenTime.plusHours(1)); writer.put(mine.isActive ? (byte) 0x01 : (byte) 0x00);