TheIllusiveC4 / Curios

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

[Bug]: Duplicate Capability Key #392

Open SaltSouls opened 3 months ago

SaltSouls commented 3 months ago

Minecraft Version

1.20.1

What happened?

This isn't causing any bugs, but I believe this may be the cause of the Invalid Playerdata when trying to join a world for the first time.

How do you trigger this bug?

  1. Create a world
  2. Join world
  3. Save and exit world
  4. Attempt to rejoin
  5. Get kicked for invalid data
  6. Attempt to join again
  7. Success

Loader

Forge

Loader Version

1.20.1-47.2.21

Mod Version

5.7.2-1.20.1

Relevant Log Outputs

Latest.log Debug.log

TheIllusiveC4 commented 3 months ago

Does this happen with only Curios loaded?

I also noticed that you have Sinytra Connector installed, does this happen if you remove it?

dabomb6405 commented 3 months ago

I am getting this same issue when trying to run the latest version of Beans Backpacks.

LegendarySpy commented 3 months ago

I get the same issue but mine just full on crashes the server, this is the beginning of a very long crash log, for me it crashes with elytra slot enabled, if its disabled it works fine:

[ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: Duplicate Capability Key: curios:item com.illusivesoulworks.elytraslot.ElytraSlotForgeMod$1@30e36fc9

TheIllusiveC4 commented 3 months ago

Are either of you running Sinytra Connector as well?

LegendarySpy commented 3 months ago

I am not

TheIllusiveC4 commented 3 months ago

Usually this is a result of multiple mods trying to add the same capability to an item. My suggestion is to try and remove mods in order to isolate which ones are conflicting with each other. In addition, it may be beneficial to begin with a bare minimum environment with just Curios API and a couple other mods to verify if it's a Curios bug.