Card.equals() throws NullPointerException
yannekflick opened this issue · 3 comments
yannekflick commented
If the Manacost is null, the equals method of class Card throws a NullPointerException. Flipcards like Nicol Bolas (m19) have no manacosts.
thechucklingatom commented
Oops, that should be looking at cmc, not Mana cost. I'll build a test out for that and fix it tonight.
thechucklingatom commented
I will likely have to change it a bit as well, since there are a few cards that wouldn't have multiverseId's. I will be adding test coverage around that as well.
thechucklingatom commented
Should be resolved in 09f0a2b Let me know if you have any more issues! Release 0.0.12 has been created.