mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
fix2
This commit is contained in:
@@ -83,7 +83,7 @@ public final class ManaCost implements Comparable<ManaCost> {
|
|||||||
this.hasNoCost = false;
|
this.hasNoCost = false;
|
||||||
while (parser.hasNext()) {
|
while (parser.hasNext()) {
|
||||||
final ManaCostShard shard = parser.next();
|
final ManaCostShard shard = parser.next();
|
||||||
if (shard != null) {
|
if (shard != null && shard != ManaCostShard.COLORLESS) {
|
||||||
shardsTemp.add(shard);
|
shardsTemp.add(shard);
|
||||||
} // null is OK - that was generic mana
|
} // null is OK - that was generic mana
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user