Currently multiple mods registering a card/artifact/etc with the same class name will clash. We need to patch the Key() method on these types to fix this issue.
Unfortunately, these methods get inlined, so they can't be patched with just Harmony. A solution to that problem is to also patch them with Cecil, adding a [MethodImpl(MethodImplOptions.NoInlining)] attribute to them.
Currently multiple mods registering a card/artifact/etc with the same class name will clash. We need to patch the Key() method on these types to fix this issue.
Unfortunately, these methods get inlined, so they can't be patched with just Harmony. A solution to that problem is to also patch them with Cecil, adding a
[MethodImpl(MethodImplOptions.NoInlining)]
attribute to them.