From 2dcc8fcdfe692d341153da469dc01d3932a0268c Mon Sep 17 00:00:00 2001 From: mgleed Date: Thu, 3 Feb 2022 22:26:32 -0500 Subject: [PATCH] gdi --- src/chest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chest.py b/src/chest.py index a52d83c..eef56ef 100644 --- a/src/chest.py +++ b/src/chest.py @@ -45,7 +45,7 @@ class Chest: if chest_label.valid: Logger.debug(f"Opening {template_match.name} ({template_match.score*100:.1f}% confidence)") # TODO: Act as picking up a potion to support telekinesis. This workaround needs a proper solution. - self._char.pick_up_item(*template_match.center, 'potion') + self._char.pick_up_item(template_match.center, 'potion') wait(0.13, 0.16) locked_chest = self._template_finder.search("LOCKED", self._screen.grab(), threshold=0.85) if locked_chest.valid: