diff --git a/spockbot/plugins/helpers/interact.py b/spockbot/plugins/helpers/interact.py index 12e2b70..ff3cc4a 100644 --- a/spockbot/plugins/helpers/interact.py +++ b/spockbot/plugins/helpers/interact.py @@ -260,7 +260,8 @@ def select_trade(self, index): raise ValueError('Can only select trade in villager window, ' 'but open window is "%s"' % inv_type) - self.channels.send('MC|ItemName', int(index)) + # TODO check index against available trades + self.channels.send('MC|TrSel', int(index)) def write_book(self, text, author="", title="", sign=False): """Write text to the current book in hand, optionally sign the book"""