Fixed toLowerCase usage

This commit is contained in:
Oleg Agafonov 2021-02-02 19:38:54 +04:00
parent b6f6bac5e0
commit 10ac8ab86f
4 changed files with 7 additions and 4 deletions

View file

@ -63,7 +63,7 @@ public class CastOnlyDuringPhaseStepSourceEffect extends ContinuousRuleModifying
private String setText() {
StringBuilder sb = new StringBuilder("cast this spell only during ");
if (turnPhase != null) {
sb.append(turnPhase.toString().toLowerCase());
sb.append(turnPhase.toString().toLowerCase(Locale.ENGLISH));
}
if (phaseStep != null) {
sb.append("the ").append(phaseStep.getStepText());