Skip to content

Commit 05a0d3a

Browse files
committed
fix: attack entities on left click not on right click
1 parent 6268561 commit 05a0d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worldInteractions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class WorldInteraction {
9090

9191
const entity = getEntityCursor()
9292

93-
if (entity && e.button === 2) {
93+
if (entity && e.button === 0) {
9494
bot.attack(entity)
9595
} else {
9696
// bot

0 commit comments

Comments
 (0)