TheIllusiveC4 / Curios

Minecraft Mod: A flexible and expandable accessory/equipment API for users and developers.
https://www.curseforge.com/minecraft/mc-mods/curios
Other
179 stars 72 forks source link

[Bug]: Held Inventory Item Deleted in 1.20.4+ NeoForge #417

Closed wendall911 closed 4 months ago

wendall911 commented 4 months ago

Minecraft Version

1.20.4

What happened?

If holding an inventory item, it will get deleted if opening and closing the curios screen. It appears to be an issue with the CuriosButton code and removing items, but I wasn't able to fully debug.

How do you trigger this bug?

  1. Hold item
  2. Open curios menu with held item
  3. Close curios menu with held item
  4. Place item back into inventory at same location are (ie, from hotbar, place back in hotbar)
  5. Item disappears ...

Loader

NeoForge

Loader Version

20.4.235

Mod Version

7.1.2

Relevant Log Outputs

No response