Curios icon indicating copy to clipboard operation
Curios copied to clipboard

[Bug]: Duplicate Capability Key

Open SaltSouls opened this issue 3 months ago • 6 comments

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

SaltSouls avatar Mar 20 '24 23:03 SaltSouls

Does this happen with only Curios loaded?

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

TheIllusiveC4 avatar Mar 21 '24 04:03 TheIllusiveC4

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

dabomb6405 avatar Mar 23 '24 21:03 dabomb6405

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

LegendarySpy avatar Mar 23 '24 22:03 LegendarySpy

Are either of you running Sinytra Connector as well?

TheIllusiveC4 avatar Mar 24 '24 00:03 TheIllusiveC4

I am not

LegendarySpy avatar Mar 24 '24 00:03 LegendarySpy

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.

TheIllusiveC4 avatar Mar 27 '24 02:03 TheIllusiveC4