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

Protect all damageable items #397

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MrJeremyFisher
Copy link
Contributor

Extend the tool protection listener to every item that a player can damage by using, rather than just items that break blocks.

@MrJeremyFisher
Copy link
Contributor Author

This also fixes the protection not applying to things like stripping copper as that doesn't fire the BlockBreakEvent.

@AngrySoundTech AngrySoundTech added Category: Feature Priority: Medium Meta: Needs Discussion Needs to be discussed more before moving further labels May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Feature Meta: Needs Discussion Needs to be discussed more before moving further Priority: Medium
Projects
Status: Ready for Review
Development

Successfully merging this pull request may close these issues.

None yet

2 participants