From f618c7368a9bc8ff7608207ff2ffc0118734abac Mon Sep 17 00:00:00 2001 From: SuperGamerTron Date: Fri, 25 Oct 2024 20:33:25 -0600 Subject: [PATCH] Update inventory plugin --- lib/plugins/inventory.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/plugins/inventory.js b/lib/plugins/inventory.js index 0277f3fef..42eab1d50 100644 --- a/lib/plugins/inventory.js +++ b/lib/plugins/inventory.js @@ -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 } }) } }