mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Fix CostTapType NPE
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user