remove sleep before fishing, with bugfix in chalutier 1.1.3

This commit is contained in:
Semjon Kerner 2021-04-15 11:50:03 +02:00
parent 7f316f6fa6
commit f31e008fbb

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