Seconds remaining calculated only once.

This commit is contained in:
2023-02-24 09:05:47 -05:00
parent bbbd5f8996
commit 72a610fd0c
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ public enum ZoneManager {
ZoneManager.hotZone = zone;
ZoneManager.hotZoneCycle = 1; // Used with HOTZONE_DURATION from config.
zone.hasBeenHotzone = true;
hotZoneLastUpdate = LocalDateTime.now().atZone(ZoneId.systemDefault()).toInstant();
ZoneManager.hotZoneLastUpdate = LocalDateTime.now().atZone(ZoneId.systemDefault()).toInstant();
}