From d112cc585f17776e4cd56849ce9124dd29a7b793 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Tue, 21 Jun 2022 15:46:35 +0200 Subject: [PATCH] Clients: fix /received calling a dict instead of indexing (#688) --- CommonClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommonClient.py b/CommonClient.py index 43abe8ab..17f013d6 100644 --- a/CommonClient.py +++ b/CommonClient.py @@ -56,7 +56,7 @@ class ClientCommandProcessor(CommandProcessor): """List all received items""" logger.info(f'{len(self.ctx.items_received)} received items:') for index, item in enumerate(self.ctx.items_received, 1): - self.output(f"{self.ctx.item_names(item.item)} from {self.ctx.player_names[item.player]}") + self.output(f"{self.ctx.item_names[item.item]} from {self.ctx.player_names[item.player]}") return True def _cmd_missing(self) -> bool: