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

Fix non-player handling in CustomDamageHandler #3781

Merged
merged 1 commit into from
May 20, 2024

Conversation

apple502j
Copy link
Contributor

Needs backport to 1.20.6.

Fixes a bug where null was sometimes being passed to CustomDamageHandler. Because this behavior is undocumented and contrary to the general assumption that everything is non-null by default, this may lead to crashes.

@apple502j apple502j added bug Something isn't working priority:high High priority PRs that need review and work now. Review these first. labels May 19, 2024
@modmuss50 modmuss50 added the merge me please Pull requests that are ready to merge label May 19, 2024
@modmuss50 modmuss50 merged commit 5b61bd2 into FabricMC:1.21 May 20, 2024
4 checks passed
modmuss50 pushed a commit that referenced this pull request May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working merge me please Pull requests that are ready to merge priority:high High priority PRs that need review and work now. Review these first.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants