Curios API (Forge/NeoForge)

Curios API (Forge/NeoForge)

140M Downloads

[1.16.5] Curios slots grow/shrink sync issue

SSKirillSS opened this issue ยท 0 comments

commented

Versions:

  • Curios: 1.16.5-4.0.5.3
  • Forge: 1.16.5-36.1.13+

Observed Behavior:

Unlocked additional slots without equipped item, which should unlock these slots

Expected Behavior:

Additional slots should be unlocked only if item which unlock these slots are equipped

Steps to Reproduce:

  1. Equip any item, which unlocks additional curios slots (For example, any belt from the Relics mod)
  2. Quickly close the game (for example via Alt+F4)
  3. Join your world again

This is how I implemented slot growing feature, where this issue can be reproduced: https://github.com/SSKirillSS/relics/blob/master/src/main/java/it/hurts/sskirillss/relics/items/relics/base/RelicItem.java#L60-L109