mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Fixed a crash (varolz, the scar-striped + dryad arbor)
This commit is contained in:
@@ -283,6 +283,9 @@ public final class ManaCost implements Comparable<ManaCost>, Iterable<ManaCostSh
|
||||
public String getShortString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
int generic = getGenericCost();
|
||||
if (this.isZero()) {
|
||||
sb.append('0');
|
||||
}
|
||||
if (generic > 0) {
|
||||
sb.append(generic);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user