Skip to content

fix: Crash on right click of Ownable Entities if owner is offline#389

Open
Aquaeyes wants to merge 1 commit intowisp-forest:1.20.1-Backportfrom
Aquaeyes:1.20.1-Backport-nullfix
Open

fix: Crash on right click of Ownable Entities if owner is offline#389
Aquaeyes wants to merge 1 commit intowisp-forest:1.20.1-Backportfrom
Aquaeyes:1.20.1-Backport-nullfix

Conversation

@Aquaeyes
Copy link
Copy Markdown

@Aquaeyes Aquaeyes commented Apr 1, 2026

Initial solution was to add a null-check, but as player is not set as nullable, swapping the order seems to work just as well. If player isn't truly not-null, a null check would suffice too.

To reproduce the bug, simply right-clicking any ownable entity with an accessory in-hand, or by attempting to open the entity's Accessories Menu would crash the game to desktop.

fixes crash on right clicking dogs if accessories enabled for entity if owner is offline
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.

1 participant