Bawnorton / AllTheTrims

Allows any item to be an armour trim material and makes all armour trimmable.
MIT License
5 stars 1 forks source link

Fix incompatibility with Elytra Trims 1.1.10, when used with new trim patterns #9

Closed kikugie closed 1 year ago

kikugie commented 1 year ago

See https://github.com/kikugie/elytra-trims/issues/18
Since ET 1.1.10 there's an option for attempting to register trims for every existing armor trim. This utterly shits itself with All The Trims because it checks for last "_", which in Elytra Trim's texture load spam doesn't exist. The fix is to check if the underscore was found beforehand, and modify the path only in that case.
Yes, it actually works, I tested.

Also it updates BCLib bcos for some reason 3.0.10 is no longer available.

Bawnorton commented 1 year ago

Ah neat, thanks for this