We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73d6904 commit ba27e25Copy full SHA for ba27e25
1 file changed
InscryptionAPI/Card/CardExtensionsCosts.cs
@@ -78,7 +78,7 @@ public static int BonesCost(this PlayableCard card)
78
/// </summary>
79
public static List<GemType> GemsCost(this PlayableCard card)
80
{
81
- if (card != null && card.Info != null) {
+ if (card == null || card.Info == null) {
82
InscryptionAPIPlugin.Logger.LogWarning("[GemsCost] Couldn't find PlayableCard or CardInfo, returning empty list");
83
return new();
84
}
0 commit comments