Skip to content

Commit

Permalink
fixup! Add enchant_item, set_item_name, select_trade to interact plugin
Browse files Browse the repository at this point in the history
Closes Gjum/Bat#5
  • Loading branch information
Gjum committed Jan 7, 2016
1 parent 45bade6 commit a00c154
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spockbot/plugins/helpers/interact.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit a00c154

Please # to comment.