1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2026-06-09 20:04:52 +00:00

fix(bounty): add error handler when enter sweep failed

This commit is contained in:
2023-11-21 14:21:22 +08:00
parent 589b0b08ec
commit d0c591af3a
+2
View File
@@ -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)