Skip to content

Fix crash on using motion sensor near liquids - #139

Open
20NickName20 wants to merge 1 commit into
PC-Logix:main-MC1.21.1from
20NickName20:main-MC1.21.1-motion-sensor-fix
Open

20NickName20 wants to merge 1 commit into
PC-Logix:main-MC1.21.1from
20NickName20:main-MC1.21.1-motion-sensor-fix

Conversation

@20NickName20

Copy link
Copy Markdown

Fixes NullPointerException when motion sensor is near water and liquids by replacing null.asInstanceOf[CollisionContext] with CollisionContext.empty()

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