mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Merge branch 'master' into AI_ATTACK_TIMEOUT
This commit is contained in:
@@ -100,7 +100,7 @@ public final class ManaCost implements Comparable<ManaCost>, Iterable<ManaCostSh
|
||||
}
|
||||
int generic = parser.getTotalGenericCost(); // collect generic mana here
|
||||
this.hasNoCost = generic == -1;
|
||||
this.genericCost = generic == -1 ? 0 : generic;
|
||||
this.genericCost = hasNoCost ? 0 : generic;
|
||||
sealClass(shardsTemp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user