|
|
|
@ -121,8 +121,8 @@ public enum ZoneManager {
@@ -121,8 +121,8 @@ public enum ZoneManager {
|
|
|
|
|
public static void resetHotZones() { |
|
|
|
|
|
|
|
|
|
for (Zone zone : ZoneManager.macroZones) |
|
|
|
|
if (zone.hasBeenHotzone) |
|
|
|
|
zone.hasBeenHotzone = false; |
|
|
|
|
if (zone.wasHotzonw) |
|
|
|
|
zone.wasHotzonw = false; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -150,7 +150,7 @@ public enum ZoneManager {
@@ -150,7 +150,7 @@ public enum ZoneManager {
|
|
|
|
|
|
|
|
|
|
ZoneManager.hotZone = zone; |
|
|
|
|
ZoneManager.hotZoneCycle = 1; // Used with HOTZONE_DURATION from config.
|
|
|
|
|
zone.hasBeenHotzone = true; |
|
|
|
|
zone.wasHotzonw = true; |
|
|
|
|
ZoneManager.hotZoneLastUpdate = LocalDateTime.now().withMinute(0).withSecond(0).atZone(ZoneId.systemDefault()).toInstant(); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
@ -242,7 +242,7 @@ public enum ZoneManager {
@@ -242,7 +242,7 @@ public enum ZoneManager {
|
|
|
|
|
|
|
|
|
|
//no duplicate hotZones
|
|
|
|
|
|
|
|
|
|
if (zone.hasBeenHotzone == true) |
|
|
|
|
if (zone.wasHotzonw == true) |
|
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
// Enforce min level
|
|
|
|
|