Skip to content

Commit

Permalink
Update inventory plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperGamerTron committed Oct 26, 2024
1 parent af3ba95 commit f618c73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/plugins/inventory.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ function inject (bot, { hideErrors }) {
})
} else if (bot.supportFeature('useItemWithOwnPacket')) {
bot._client.write('use_item', {
hand: offHand ? 1 : 0
hand: offHand ? 1 : 0,
rotation: { x: 0, y: 0 }
})
}
}
Expand Down

0 comments on commit f618c73

Please sign in to comment.