mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Merge pull request #5997 from hovergoat/master
Fix for crash when no multikicker cost is paid
This commit is contained in:
@@ -620,7 +620,10 @@ public final class GameActionUtil {
|
|||||||
result.getPayCosts().add(cost);
|
result.getPayCosts().add(cost);
|
||||||
reset = true;
|
reset = true;
|
||||||
}
|
}
|
||||||
result.setOptionalKeywordAmount(ki, v);
|
|
||||||
|
if (result != null) {
|
||||||
|
result.setOptionalKeywordAmount(ki, v);
|
||||||
|
}
|
||||||
} else if (o.startsWith("Offspring")) {
|
} else if (o.startsWith("Offspring")) {
|
||||||
String[] k = o.split(":");
|
String[] k = o.split(":");
|
||||||
final Cost cost = new Cost(k[1], false);
|
final Cost cost = new Cost(k[1], false);
|
||||||
|
|||||||
Reference in New Issue
Block a user