Skip to content

FFAPI can cause Curio items to have a null EquipmentSlot #249

@muon-rw

Description

@muon-rw

Minecraft version

1.21.1

Describe the bug

When FFAPI is installed, Curio items can sometimes return null for ItemStack#getEquipmentSlot

Steps to reproduce

  1. Install FFAPI
  2. Install Iron's Spells n' Spellbooks
  3. Upgrade a spellbook in an Arcane Anvil using an upgrade orb
  4. Crash with NPE

Notes:
According to a dev in the linked issue, getEquipmentSlot is annotated not null:

See:
iron431/irons-spells-n-spellbooks#963

Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions