Curios API (Forge/NeoForge)

Curios API (Forge/NeoForge)

140M Downloads

[Bug]: isEnderMask crashes if it isn't overridden for ICurioItem

ThatPreston opened this issue ยท 0 comments

commented

Minecraft Version

1.20.4

What happened?

I'm not sure if this is related to my mod or not, but while I was testing my compat the game randomly crashed, and kept crashing consistently when trying to rejoin that world. This is on forge with curios 7.3.0+1.20.4

My compat is extremely barebones so I don't think it's my fault, all I've done is
CuriosApi.registerCurio(Mermod.SEA_NECKLACE.get(), new SeaNecklaceCurioItem());
& SeaNecklaceCurioItem is just public class SeaNecklaceCurioItem implements ICurioItem {}

If I override isEnderMask in SeaNecklaceCurioItem and simply return false it resolves the issue, but I'm assuming that shouldn't be required.

How do you trigger this bug?

  1. Join a new world
  2. Register a blank ICurioItem instance to an item
  3. Equip it and spawn an enderman
  4. Crash

Loader

Forge

Loader Version

Forge 49.0.27

Mod Version

Curios 7.3.0+1.20.4

Relevant Log Outputs

crash-2024-02-17_01.46.56-server.txt