Browse Source

lastUpdate always from top of the hour.

master
MagicBot 2 years ago
parent
commit
cacf67a81c
  1. 2
      src/engine/gameManager/ZoneManager.java

2
src/engine/gameManager/ZoneManager.java

@ -156,7 +156,7 @@ public enum ZoneManager {
ZoneManager.hotZone = zone; ZoneManager.hotZone = zone;
ZoneManager.hotZoneCycle = 1; // Used with HOTZONE_DURATION from config. ZoneManager.hotZoneCycle = 1; // Used with HOTZONE_DURATION from config.
zone.hasBeenHotzone = true; zone.hasBeenHotzone = true;
ZoneManager.hotZoneLastUpdate = LocalDateTime.now().atZone(ZoneId.systemDefault()).toInstant(); ZoneManager.hotZoneLastUpdate = LocalDateTime.now().withMinute(0).withSecond(0).atZone(ZoneId.systemDefault()).toInstant();
} }

Loading…
Cancel
Save