Button render can cause null pointer crash
Charnuz opened this issue ยท 2 comments
This for some reason happened as I went to exit world.
Reskillable: 1.12.5
Forge: 14.23.5.2838
Not sure why this was happening but added something that should fix it. I hope to release an update by the end of the week that includes this fix.
Can confirm this still happens with version 1.13.0. Created a new issue #181 as the button itself is not the cause.
Depending on if PlayerDataHandler.get()
can return null (meaning PlayerData.get()
also can return null), the button should handle this properly.
The button itself appears to handle null correctly.