mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-16 15:35:12 +00:00
fix(bounty): add error handler when enter sweep failed
This commit is contained in:
parent
589b0b08ec
commit
d0c591af3a
@ -80,6 +80,8 @@ class Bounty(BountyUI):
|
||||
case BountyStatus.ENTER:
|
||||
if self.enter_stage(self.current_stage):
|
||||
return BountyStatus.SWEEP
|
||||
else:
|
||||
self.error_handler()
|
||||
case BountyStatus.SWEEP:
|
||||
if self.do_sweep(self.current_count):
|
||||
self.task.pop(0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user