We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddd3a39 commit 0c02a92Copy full SHA for 0c02a92
backend/import/xml/parser.js
@@ -81,7 +81,7 @@ function parse(content) {
81
pt = "",
82
side = "a",
83
type = "" } = root.version === "3" ? c : c.prop;
84
- const [power, toughness] = pt.split("/");
+ const [power, toughness] = String(pt).split("/");
85
const fixedColors = getTrueColors(root.version, color, colors);
86
const fixedType = getTrueType(type);
87
const fixedManaCost = addManaCostBrackets(String(manacost));
0 commit comments