Skip to content

Commit

Permalink
fix: don't attack on right click
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed May 4, 2024
1 parent b278016 commit cfb9b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worldInteractions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class WorldInteraction {

const entity = getEntityCursor()

if (entity) {
if (entity && e.button === 2) {
bot.attack(entity)
}
})
Expand Down

0 comments on commit cfb9b17

Please sign in to comment.