mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Merge branch 'mana-payment-fix' into 'master'
Fix AI/auto payment for the {C} shard
Closes #1517
See merge request core-developers/forge!3018
This commit is contained in:
@@ -354,7 +354,7 @@ public class ManaPool extends ManaConversionMatrix implements Iterable<Mana> {
|
||||
byte line = getPossibleColorUses(color);
|
||||
|
||||
for(byte outColor : ManaAtom.MANATYPES) {
|
||||
if ((line & outColor) != 0 && shard.canBePaidWithManaOfColor(outColor)) {
|
||||
if ((line & outColor) != 0 && shard.canBePaidWithManaOfColor(color)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user