mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Fix CostTapType NPE
This commit is contained in:
@@ -32,6 +32,5 @@ public class Hexproof extends KeywordInstance<Hexproof> {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -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