Upon rendering an attachment that has been given an empty list, the game crashes with the following reason: java.lang.NullPointerException: Rendering entity in world
This has been tested with the following attachments so far, resulting in the same reason (but a different stacktrace):
helmet (crash report given)
chestplate_body
chestplate_left
chestplate_right
leggings_body
leggings_left
leggings_right
boots_left
boots_right
item_right (crash report given)
elytra (crash report given)
parrot_left (crash report given)
Hiding armor does work via the client config.
Steps to reproduce
Create a new model or use a pre-existing model. Disable an attachment by providing it an empty list.
Hold an item or equip an armor in the slot that would normally render using that attachment.
Allow the game to render it (via third-person, inventory, or cpm model selection screen.)
Version Info
Minecraft: 1.16.5 Forge: 36.0.43 CPM: 2.1.0
Report Info
Upon rendering an attachment that has been given an empty list, the game crashes with the following reason:
java.lang.NullPointerException: Rendering entity in world
This has been tested with the following attachments so far, resulting in the same reason (but a different stacktrace):Hiding armor does work via the client config.
Steps to reproduce
Crash Reports
item_right: https://pastebin.com/ebdFXG0d helmet: https://pastebin.com/nW9kd3HK (all armor crashes point to the same line at the top of the stacktrace.) elytra: https://pastebin.com/ZC8s8Xeb parrot_left: https://pastebin.com/iE0MykJe