Check for null card entry while encoding. Default to spell and not minion. Spell has the least amount of assumed attributes.
Check for null card entry while encoding. Default to spell and not minion. Spell has the least amount of assumed attributes.

Xesyto/Buzzbox