mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-06-10 02:34:51 +00:00
fix(popup): make correction to ap exceed and add insufficient inventory for JP
This commit is contained in:
@@ -94,6 +94,12 @@ class PopupHandler(ModuleBase):
|
||||
|
||||
return False
|
||||
|
||||
def handle_insufficient_inventory(self, interval=5) -> bool:
|
||||
if self.appear_then_click(INSUFFICIENT_INVENTORY, interval=interval):
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
def handle_item_expired(self, interval=5) -> bool:
|
||||
if self.appear_then_click(ITEM_EXPIRED, interval=interval):
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user