Curios API (Forge/NeoForge)

Curios API (Forge/NeoForge)

140M Downloads

CuriosEquipEvent fired when curio is unequipped

dhyces opened this issue ยท 0 comments

commented

Versions:

  • Curios: 1.19.4-5.1.5.2
  • Forge/Fabric: Forge 45.0.49

Slot#mayPlace is called when the slot modification status is tested in Slot#allowModification, which results in the equip event being fired when Slot#tryRemove is called. Unfortunately, from the many times the event is fired when a slot is interacted with, this method is called from the last tryRemove method call. This results in unwanted behavior.