forked from External/mage
* Added to all toUpperCase/toLowerCase calls the Locale.ENGLISH to prevent problems with some languages (e.g. Turkish). Removed some unused import statements. (#4634).
This commit is contained in:
parent
03ebdc17d8
commit
b073ce1c42
147 changed files with 1419 additions and 1496 deletions
|
|
@ -29,6 +29,7 @@ package mage.abilities.keyword;
|
|||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.UUID;
|
||||
import mage.Mana;
|
||||
import mage.ObjectColor;
|
||||
|
|
@ -242,7 +243,7 @@ class ConvokeEffect extends OneShotEffect {
|
|||
manaPool.addMana(Mana.ColorlessMana(1), game, source);
|
||||
manaPool.unlockManaType(ManaType.COLORLESS);
|
||||
}
|
||||
manaName = chooseManaType.getChoice().toLowerCase();
|
||||
manaName = chooseManaType.getChoice().toLowerCase(Locale.ENGLISH);
|
||||
} else {
|
||||
manaPool.addMana(Mana.ColorlessMana(1), game, source);
|
||||
manaPool.unlockManaType(ManaType.COLORLESS);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue