[1.17.1] Crash with custom armor from Vampirism
maxanier opened this issue ยท 0 comments
Running
Vampirism-1.17.1-1.8.4-beta.1
CurseForgeEpicFightMod-17.0.6
Equip vampirism:vampire_clothing_crown
, switch to 3rd person. Crash with ArrayIndexOutOfBoundsException
exception
Crash report (from my dev env): https://gist.github.com/maxanier/3d25858cefc928a78cb798ce31e7a7d1
Original issue: TeamLapen/Vampirism#1024
I am not sure what happens here.
Related Vampirism class: https://github.com/TeamLapen/Vampirism/blob/8f947f7ed3a177fe3cd18f0d970388515191adfe/src/main/java/de/teamlapen/vampirism/client/model/armor/ClothingCrownModel.java
Super class: https://github.com/TeamLapen/Vampirism/blob/8f947f7ed3a177fe3cd18f0d970388515191adfe/src/main/java/de/teamlapen/vampirism/client/model/armor/VampirismArmorModel.java
When I add hierarchy to my model (add the parts (LEFT, RIGHT, ...) not to the root part definition but to the head part (mesh.getRoot().getChild("head")
) it still crashes (with index 720 instead of 84).
Do you have an idea why this might be happening and if it can be fixed on your side or my side?