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

Sword durability issue. #276

Open
rejomy opened this issue Jan 5, 2025 · 3 comments
Open

Sword durability issue. #276

rejomy opened this issue Jan 5, 2025 · 3 comments

Comments

@rejomy
Copy link

rejomy commented Jan 5, 2025

image
When i hit a human and EntityDamageByEntity event was cancelled, sword durability does not return to previous, so i can break my sword in client side.

@Ameliorate
Copy link

This also happens with BlockBreakEvent when it’s cancelled. If you have control over the code in the plugin that cancels the event, you can work around this by calling Player.updateInventory()

@sprytex
Copy link

sprytex commented Jan 5, 2025

I have the same issues, and I think it needs to be fixed

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

3 participants