diff --git a/worlds/gl/GauntletLegendsClient.py b/worlds/gl/GauntletLegendsClient.py index 8e567d56b145..dc47e7c19529 100644 --- a/worlds/gl/GauntletLegendsClient.py +++ b/worlds/gl/GauntletLegendsClient.py @@ -447,7 +447,9 @@ async def inv_refactor(self, new=None, one=None): self.inventory[player] += [new] else: self.inventory[one] += [new] - for player in range(self.players): + + players_to_check = range(self.players) if one is None else [one] + for player in players_to_check: for i, item in enumerate(self.inventory[player]): if item.name is not None: if "Potion" in item.name and item.count != 0: