ThonkUtil

ThonkUtil

4M Downloads

Thonkutil breaks all models without a slash in their path

MattiDragon opened this issue ยท 4 comments

commented

com.jab125.thonkutil.mixin.ModelLoaderMixin assumes that all models have a slash in their path and blindly grabs the second part after splitting on it, even if there is no second part. This throws an ArrayIndexOutOfBoundsException which prevents the model from loading. You also don't seem to properly support models with more than one slash, but that's rare and just causes the cape to not get a model.

This breaks the latest version of extended drawers as it includes a template model in it's root model directory.

commented

Originally reported here: MattiDragon/ExtendedDrawers#30

commented

you are free to make a pull request for this as i am busy working on other projects right now

commented

opened pr #33

commented

The PR is merged and I assume released. Should this be closed