mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Fixed an incompatibility of getShortColorsString and ManaCost (the former translating Colorless to C which the latter doesn't take).
This commit is contained in:
@@ -31,7 +31,7 @@ public class ManaCost {
|
||||
* @param manaCost a {@link java.lang.String} object.
|
||||
*/
|
||||
public ManaCost(String manaCost) {
|
||||
if (manaCost.equals(""))
|
||||
if (manaCost.equals("") || manaCost.equals("C"))
|
||||
manaCost = "0";
|
||||
|
||||
while (manaCost.contains("X")) {
|
||||
|
||||
Reference in New Issue
Block a user