Fix Invocation P/T undefined import

This commit is contained in:
Josh birnholz
2023-04-01 22:34:26 -04:00
parent fecbda13f8
commit c79e631b4a

View File

@@ -3552,6 +3552,7 @@ function changeCardIndex() {
}
}
if (card.text.pt && card.text.pt.text == undefined + '/' + undefined) {card.text.pt.text = '';}
if (card.text.pt && card.text.pt.text == undefined + '\n' + undefined) {card.text.pt.text = '';}
if (card.version.includes('planeswalker')) {
card.text.loyalty.text = cardToImport.loyalty || '';
var planeswalkerAbilities = cardToImport.oracle_text.split('\n');