mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Missing check in Cost_Payment for computer remove counters.
This commit is contained in:
@@ -320,7 +320,7 @@ public class Cost_Payment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// double check if counters available? Real check is in ComputerUtil.canPayAdditionalCosts()
|
// double check if counters available? Real check is in ComputerUtil.canPayAdditionalCosts()
|
||||||
if (cost.getCounterNum() > card.getCounters(cost.getCounterType())){
|
if (cost.getSubCounter() && cost.getCounterNum() > card.getCounters(cost.getCounterType())){
|
||||||
System.out.println("Not enough " + cost.getCounterType() + " on " + card.getName());
|
System.out.println("Not enough " + cost.getCounterType() + " on " + card.getName());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user