mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
bugfix for announced X
This commit is contained in:
@@ -282,6 +282,7 @@ public class ManaCostShard {
|
||||
* @return the card mana cost shard
|
||||
*/
|
||||
public static ManaCostShard valueOf(final int atoms) {
|
||||
if ( atoms == 0 ) return ManaCostShard.COLORLESS;
|
||||
for (final ManaCostShard element : ManaCostShard.ALL_POSSIBLE) {
|
||||
if (element.shard == atoms) {
|
||||
return element;
|
||||
|
||||
Reference in New Issue
Block a user