Refactoring: added mana color check and fix

This commit is contained in:
Oleg Agafonov 2018-05-06 00:48:16 +04:00
parent 7edcec0dc1
commit 459ef9af94
4 changed files with 21 additions and 7 deletions

View file

@ -179,7 +179,7 @@ class AnyColorPermanentTypesManaEffect extends ManaEffect {
else{
List<ObjectColor> permanentColors = permanent.getColor(game).getColors();
for (ObjectColor color : permanentColors){
types.add(new Mana(color.getColoredManaSymbol()));
types.add(new Mana(color.getOneColoredManaSymbol()));
}
}
}