Cosmetic Armor [FABRIC]

Cosmetic Armor [FABRIC]

3M Downloads

Conflict with Azurelib Armor

MeatVegetalbe opened this issue ยท 4 comments

commented

I've been testing mods, and I found that armours using Azurelib Armor show as a pink error texture when put in the cosmetic slot. Not sure what could be causing this, however that is the only consistency with the issue.

commented

This would be on Cometic Armor, most likely https://github.com/apace100/cosmetic-armor/blob/1.20/src/main/java/io/github/apace100/cosmetic_armor/mixin/MixinCosmeticArmorVisibility.java#L87-L88C43 to be exact. I sugguest using WrapOperation https://github.com/LlamaLad7/MixinExtras/wiki/WrapOperation instead of a Redirect for this issue @apace100. I am doing a custom build on my end just to confirm this and will send in a PR if you open to it. The latest Fabric loader does add Mixin Extras in Fabric now but if you wish to target older versions as well, it must be included.

commented

Thanks Azure

commented

This would be on Cometic Armor, most likely https://github.com/apace100/cosmetic-armor/blob/1.20/src/main/java/io/github/apace100/cosmetic_armor/mixin/MixinCosmeticArmorVisibility.java#L87-L88C43 to be exact. I sugguest using WrapOperation https://github.com/LlamaLad7/MixinExtras/wiki/WrapOperation instead of a Redirect for this issue @apace100. I am doing a custom build on my end just to confirm this and will send in a PR if you open to it. The latest Fabric loader does add Mixin Extras in Fabric now but if you wish to target older versions as well, it must be included.

Hi, I tried several times to fix this bug, but I'm not good at java and I always get error, is there any other way to fix it?