MADH95 / DeckbuilderMod

A mod for adding cards to your starting deck
0 stars 1 forks source link

Does not work with custom cards #1

Closed julian-perge closed 1 month ago

julian-perge commented 2 years ago

ScriptableObjectLoader​<​CardInfo​>.​allData​ ​=​ ​null​;

This line in DeckBuilderMod.cs causes non-vanilla cards to not be loaded into the card pool, making it impossible to use with custom cards and throwing An exception when CardLoader.GetCardByName is called.

MADH95 commented 2 years ago

This was a workaround for an older version of API, where it would require that allData be null so cards could load. If you want to make a pull request I will merge