mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-06-09 22:14:51 +00:00
fix(bounty): add error handler when enter sweep failed
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user