Seconds remaining calculated only once.
This commit is contained in:
1 parent
bbbd5f8996
commit
72a610fd0c
2 files changed
+7
-5
No files matched your search
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user