Merge pull request #59 from SemjonKerner/remove_sleep_before_fishing

remove sleep before fishing, with bugfix in chalutier 1.1.3
This commit is contained in:
Adam Saudagar 2021-04-17 13:36:58 +05:30 committed by GitHub
commit e47d74afc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,10 +39,7 @@ def loop(hsv):
if all(hsv == s.value):
FishingMode.CurrentMode = s
if FishingMode.CurrentMode == State.LOOKING:
_notify(FishingMode.CurrentMode)
time.sleep(1)
elif FishingMode.CurrentMode != FishingMode.PrevMode:
if FishingMode.CurrentMode != FishingMode.PrevMode:
_notify(FishingMode.CurrentMode)
FishingMode.PrevMode = FishingMode.CurrentMode