Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
feat(farmer): imp on_field_objects()
Browse files Browse the repository at this point in the history
Signed-off-by: hldh214 <[email protected]>
  • Loading branch information
hldh214 committed Aug 22, 2023
1 parent e3defd9 commit 8de82af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lokbot/farmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ def on_field_objects(data):
except OtherException as error_code:
if str(error_code) in (
'full_task', 'not_enough_troop', 'insufficient_actionpoint', 'not_open_gate',
'no_drago_action_point', 'no_drago'
'no_drago_action_point', 'no_drago', 'exceed_crystal_daily_quota'
):
logger.warning(f'on_field_objects: {error_code}, skip')
self.field_object_processed = True
Expand Down

0 comments on commit 8de82af

Please sign in to comment.