Fix match template

This commit is contained in:
2024-09-05 00:47:18 -04:00
parent 05c04e3bac
commit 369fe8d316
15 changed files with 18 additions and 45 deletions
+2 -1
View File
@@ -53,7 +53,8 @@ class FishingAgent:
while True:
time.sleep(1)
self.logger.log("###")
self.monitor.findMatch(self.fishingBobberImg)
point = self.monitor.findMatch(self.fishingBobberImg)
pyautogui.moveTo(point[0], point[1])
def run(self):
if self.monitor.screenshot is None: