Fix match template
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user