mirror of
https://github.com/correl/mage.git
synced 2024-11-22 03:00:11 +00:00
Fix minor bug in ComputerPlayer mana handling
This commit is contained in:
parent
55a6acba22
commit
f68db93683
1 changed files with 1 additions and 1 deletions
|
@ -1536,7 +1536,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
||||||
if (!unpaid.getMana().includesMana(mana)) {
|
if (!unpaid.getMana().includesMana(mana)) {
|
||||||
continue ManaAbility;
|
continue ManaAbility;
|
||||||
}
|
}
|
||||||
colored += CardUtil.overflowInc(colored, mana.countColored());
|
colored = CardUtil.overflowInc(colored, mana.countColored());
|
||||||
}
|
}
|
||||||
if (colored > 1 && (cost instanceof ColoredManaCost)) {
|
if (colored > 1 && (cost instanceof ColoredManaCost)) {
|
||||||
for (Mana netMana : manaAbility.getNetMana(game)) {
|
for (Mana netMana : manaAbility.getNetMana(game)) {
|
||||||
|
|
Loading…
Reference in a new issue