Shadows-of-Fire / Apotheosis

All things that should have been.
Other
151 stars 119 forks source link

Crash when rendering enchantment text #1199

Closed loving2 closed 3 months ago

loving2 commented 3 months ago

Describe the bug Evilcraft's Blood Chest will repair an item with durability but has a chance of adding a negative enchantment. Apotheosis adds text to enchantments to describe them. When an Occultism Master Miner Marid has one of Evilcraft's enchantments on it, it appears to crash the client when trying to render the text from hovering the mouse over the item.

To Reproduce Steps to reproduce the behavior:

  1. Use an Occultism Master Miner Marid in a Dimensional Mineshaft to cause durability damage
  2. Repair it in an Evilcraft Blood Chest until it has negative enchantments (not sure which enchantment causes the issue)
  3. Mouse over the Occultism Master Miner Marid
  4. Crash

Expected behavior The client renders the text and doesn't crash.

System (please complete the following information):

Additional context I uploaded the crash report along with it, not sure if this issue belongs elsewhere, but if this is the wrong spot let me know and I can make an issue elsewhere! I did post it on Occultism's github in this issue. I'm not sure if this requires an Occultism Master Miner Marid or would happen to anything with durability. crash-2024-03-12_17.00.58-client.txt

Shadows-of-Fire commented 3 months ago

Duplicate of #1165