Skip to content

Fix NPE in AttributeInstanceSet#toArray#628

Closed
Dreeam-qwq wants to merge 1 commit intover/1.21.11from
fix/attribute-instance-set-toarray
Closed

Fix NPE in AttributeInstanceSet#toArray#628
Dreeam-qwq wants to merge 1 commit intover/1.21.11from
fix/attribute-instance-set-toarray

Conversation

@Dreeam-qwq
Copy link
Member

@Dreeam-qwq Dreeam-qwq commented Feb 4, 2026

AttributeInstanceArrayMap#put is nullable, and toArray copy should copy null elements as well.

Close #627

`AttributeInstanceArrayMap#put` is nullable
@Dreeam-qwq Dreeam-qwq requested a review from hayanesuru February 4, 2026 12:00
@Dreeam-qwq Dreeam-qwq added the type: fix Pull request for fixing bug label Feb 4, 2026
@Dreeam-qwq Dreeam-qwq closed this Feb 7, 2026
@Dreeam-qwq Dreeam-qwq deleted the fix/attribute-instance-set-toarray branch February 7, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Pull request for fixing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Random server crash: NullPointerException in AttributeInstanceSet during world tick

1 participant