Electroblob77 / Wizardry

Source code for Electroblob's Wizardry, a Minecraft mod about magic, exploration and adventure. Open-source so other aspiring wizards (a.k.a. programmers 😎) can see the real magic! ✨ Just want to download and play? Head over to the CurseForge page via the link below:
https://minecraft.curseforge.com/projects/electroblobs-wizardry
Other
202 stars 106 forks source link

[Bug] java.lang.IllegalArgumentException when trying to render botania manasteel armor in cosmetic slots (sometimes) #853

Open Colorblind22 opened 1 year ago

Colorblind22 commented 1 year ago

Is there an existing issue for this?

Observed behaviour

Another player wearing manasteel armor in the cosmetic slot teleported to me and it caused a crash. This has been happening to me irregularly, sometimes it crashes the second they are within my render distance and other times we can be by eachother for hours with no issue. It has happened to other people on my server using the exact same versions of forge and all the mods.

This might be an issue with Botania or with Cosmetic Armor Reworked, or both. I have no clue. In any case the stacktrace points back to Wizardry.

Expected behaviour

For the armor to render correctly and for the game to not crash

Steps to reproduce

  1. Log on to server
  2. Have player wearing manasteel armor (from botania) in the cosmetic slots added by the Cosmetic Armor Reworked mod ver. v5a
  3. Game occasionally crashes

Crashlog

https://gist.github.com/Colorblind22/6a3e43ff5114e45e64e095979f205241

Environment (Singleplayer/Server, etc.)

LAN game/Server

Mod version

4.3.9

Minecraft version

1.12.2

Forge version

14.23.5.2860

Other mods

No response