Gamepiaynmo / CustomPlayerModel

Customize your player model in Minecraft.
MIT License
16 stars 2 forks source link

fabric version crash when equiping armor on custom model #22

Open zerustu opened 2 years ago

zerustu commented 2 years ago

the game crash when trying to render an entity with a custom model and armor equip if the "hidearmor" config isn't turn on. the version is fabric (2.2.3 and 2.2.5 confirmed on different models and client) any render of the entity create the crash: F5, inventory or CPM GUI. and regardless of how the model is config to handle armor in the model.json: -not "attachments" specification; -an "attachemnt" bone to a correct bone specified; -"attachement" for that armor but with empty array to disable it; it crash in any cases. crash-2022-02-16_08.36.44-client.txt

Raastefer commented 2 years ago

It may be a bit late for me to add to this, but nevertheless, in my own testing it seems that the cause of the crashes is coming from a mixin in Fabric API.

You can see for yourself by opening up the Fabric API jar, using 7zip or some similar tool and deleting the "fabric-rendering-v1" jar inside, which "fixes" the problem and allows CPM to render armor on models without issue.