Skip to content

fix: prevent NPE when Camera.entity is null#778

Open
CaiBai-Fish wants to merge 1 commit intoryanhcode:mainfrom
CaiBai-Fish:fix-camera-null
Open

fix: prevent NPE when Camera.entity is null#778
CaiBai-Fish wants to merge 1 commit intoryanhcode:mainfrom
CaiBai-Fish:fix-camera-null

Conversation

@CaiBai-Fish
Copy link
Copy Markdown

Leawind‘s Third Person may temporarily set camera entity to null, causing Sable to crash at entity.level().

Add null check and fallback to original behavior.

Leawind‘s Third Person may temporarily set camera entity to null,
causing Sable to crash at entity.level().

Add null check and fallback to original behavior.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 6, 2026

CLA assistant check
All committers have signed the CLA.

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