Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right clicking with main hand casting item can also use off hand item #1338

Open
DaveArndt opened this issue Jul 5, 2024 · 1 comment
Open

Comments

@DaveArndt
Copy link

When holding a casting item in main hand and a useable item in off hand, right clicking will both cast a spell and use the off hand item. I believe this is because the casting item returns PASS instead of SUCCESS on client side, which allows the interaction to be handled by the off hand. Any item that does client-side handling on use, such as the staves from Iron's Spells n Spellbooks, will have at least partial activation. This is also likely related to other inconsistencies when right clicking a casting item on an interactable block or entity.

Related issues:
#992
#887

@DaveArndt
Copy link
Author

Got home and tested it, changing the return enum changed nothing. I'll keep investigating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant