Skip to content

Commit

Permalink
fix: attack entities on left click not on right click
Browse files Browse the repository at this point in the history
zardoy committed Jun 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 6268561 commit 05a0d3a
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
@@ -90,7 +90,7 @@ class WorldInteraction {

const entity = getEntityCursor()

if (entity && e.button === 2) {
if (entity && e.button === 0) {
bot.attack(entity)
} else {
// bot

0 comments on commit 05a0d3a

Please sign in to comment.