mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-17 00:15:13 +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:
|
case BountyStatus.ENTER:
|
||||||
if self.enter_stage(self.current_stage):
|
if self.enter_stage(self.current_stage):
|
||||||
return BountyStatus.SWEEP
|
return BountyStatus.SWEEP
|
||||||
|
else:
|
||||||
|
self.error_handler()
|
||||||
case BountyStatus.SWEEP:
|
case BountyStatus.SWEEP:
|
||||||
if self.do_sweep(self.current_count):
|
if self.do_sweep(self.current_count):
|
||||||
self.task.pop(0)
|
self.task.pop(0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user