1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-08-15 11:43:08 +08:00

Tmp: delay island tasks for EN and TW server

This commit is contained in:
guoh064
2026-08-09 14:44:59 +08:00
parent 5c977304a6
commit b3e72e8e9c
6 changed files with 24 additions and 0 deletions

View File

@@ -302,6 +302,10 @@ class IslandProduction(IslandRecipe, IslandDock):
break
def run(self):
if self.config.SERVER in ['en', 'tw']:
logger.info(f'IslandProduction is not available on {self.config.SERVER} server, delay until next server update')
self.config.task_delay(server_update=True)
return
self.ensure_island_production_page()
slot_finish_time = self.config.cross_get("IslandProduction.Storage.Storage.SlotFinishTime", default={})
self.slot_finish_time = {int(k): datetime.fromisoformat(v) for k, v in slot_finish_time.items()}