Fix CostTapType NPE

This commit is contained in:
tool4EvEr
2021-06-11 12:33:37 +02:00
parent 418d2bf012
commit d853ca6615
2 changed files with 2 additions and 3 deletions

View File

@@ -33,5 +33,4 @@ public class Hexproof extends KeywordInstance<Hexproof> {
return false;
}
}

View File

@@ -1096,7 +1096,7 @@ public class HumanCostDecision extends CostDecisionMakerBase {
c = AbilityUtils.calculateAmount(source, amount, ability);
}
if (c == 0) {
if (c != null && c == 0) {
return PaymentDecision.number(0);
}