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

ignore client nbt for hotbar click #665

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

maxomatic458
Copy link
Contributor

Client NBT can be different from whats on the server (e.g when you have armor on you and you move it, the client will add the Damage value). For ClickMode::ShiftClicking/ClickMode::Click this is already handled

// There are some cases where the client will add NBT data that
.

Now its also handled for ClickMode::Hotbar

@dyc3 dyc3 merged commit f526a17 into valence-rs:main Oct 17, 2024
11 checks passed
@maxomatic458 maxomatic458 deleted the hotbar-click-nbt-fix branch October 17, 2024 11:05
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

Successfully merging this pull request may close these issues.

2 participants