Skip to content

Add null check in Camera Mixin rotation method#49

Open
indigojoha wants to merge 1 commit intoFoundationGames:1.21.1from
indigojoha:1.21.1
Open

Add null check in Camera Mixin rotation method#49
indigojoha wants to merge 1 commit intoFoundationGames:1.21.1from
indigojoha:1.21.1

Conversation

@indigojoha
Copy link

Added a null check in the camera mixin to return early if focusedEntity is null, as it would otherwise cause crashes with mods that use a fake camera context, I.E: Create's Ponder screen.

Added a check to return early if focusedEntity is null, as it would cause crashes with other some other mods.
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