Skip to content

Fix for bot.select when using index number#27

Merged
JoeStrout merged 1 commit intoJoeStrout:mainfrom
Zelec:bot-select-inv-fix
Jul 2, 2022
Merged

Fix for bot.select when using index number#27
JoeStrout merged 1 commit intoJoeStrout:mainfrom
Zelec:bot-select-inv-fix

Conversation

@Zelec
Copy link
Copy Markdown

@Zelec Zelec commented Jul 2, 2022

In the bot.select command, inv is used before it's assigned, resulting in the error:

Runtime Error: Undefined Identifier: 'inv' is unknown in this context [line 411]

Moving line 417 to be under line 410 fixes the issue and allows bot.select to use index numbers again instead of only item names.

In the `bot.select` command, inv is used before it's assigned, resulting
in the error:
`Runtime Error: Undefined Identifier: 'inv' is unknown in this context`
Moving line 417 to be under line 410 fixes the issue
@JoeStrout
Copy link
Copy Markdown
Owner

Great catch, thank you!

@JoeStrout JoeStrout merged commit 84b1258 into JoeStrout:main Jul 2, 2022
@Zelec Zelec deleted the bot-select-inv-fix branch July 2, 2022 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants