fix digit button for hotbar
This commit is contained in:
parent
77fa0ee0cd
commit
f0294abf9e
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -196,7 +196,7 @@ async function connect (options) {
|
|||
}
|
||||
if (e.code.startsWith('Digit')) {
|
||||
const numPressed = e.code.substr(5)
|
||||
hotbar.reloadHotbarSelected(bot, numPressed - 1)
|
||||
hotbar.reloadHotbarSelected(numPressed - 1)
|
||||
}
|
||||
if (e.code === 'KeyQ') {
|
||||
if (bot.heldItem) bot.tossStack(bot.heldItem)
|
||||
|
|
Loading…
Reference in a new issue