Seconds remaining calculated only once.

This commit is contained in:
MagicBot committed 2023-02-24 09:05:47 -05:00
1 parent bbbd5f8996
commit 72a610fd0c
2 files changed
+7 -5

No files matched your search

+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();
}