mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Card: fixed length check for Kicker
This commit is contained in:
@@ -1411,7 +1411,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
sbx.append("Kicker ");
|
||||
final Cost cost = new Cost(n[1], false);
|
||||
sbx.append(cost.toSimpleString());
|
||||
if (Lists.newArrayList(n).size() > 1) {
|
||||
if (Lists.newArrayList(n).size() > 2) {
|
||||
sbx.append(" and/or ");
|
||||
final Cost cost2 = new Cost(n[2], false);
|
||||
sbx.append(cost2.toSimpleString());
|
||||
@@ -1864,7 +1864,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
sbx.append("Kicker ");
|
||||
final Cost cost = new Cost(n[1], false);
|
||||
sbx.append(cost.toSimpleString());
|
||||
if (Lists.newArrayList(n).size() > 1) {
|
||||
if (Lists.newArrayList(n).size() > 2) {
|
||||
sbx.append(" and/or ");
|
||||
final Cost cost2 = new Cost(n[2], false);
|
||||
sbx.append(cost2.toSimpleString());
|
||||
|
||||
Reference in New Issue
Block a user