Skip to content

Conversation

@Zughy
Copy link
Contributor

@Zughy Zughy commented Jan 4, 2026

Fixes #13581

To do

This PR is Ready for Review.

How to test

  1. Snippet in the linked issue (items with on_use)
  2. Edit a devtest pickaxe (items without on_use) adding
on_secondary_use = function(itemstack, user, pointed_thing)
    core.chat_send_all("On secondary use")
end,
	   
on_place = function(itemstack, user, pointed_thing)
    core.chat_send_all("On place")
end
  1. Right-click around whilst digging (in the air or not), they should now work

@sfan5
Copy link
Member

sfan5 commented Jan 4, 2026

Isn't this a breaking change?
Nevermind. It's certainly a behavior change but if we consider this a bug, then it's alright.

@Zughy

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Items: right click functions are not run if left click is held down (but it works if it's the opposite)

2 participants