forked from External/mage
Fixed missing locale param in string operations (#4634)
This commit is contained in:
parent
da4a44445b
commit
e69a021c71
12 changed files with 30 additions and 18 deletions
|
|
@ -17,6 +17,7 @@ import mage.target.Target;
|
|||
import mage.target.targetpointer.FixedTarget;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
|
|
@ -150,7 +151,7 @@ public class RollPlanarDieEffect extends OneShotEffect {
|
|||
if (effect != null) {
|
||||
try {
|
||||
String emode = effect.getText(mode);
|
||||
emode = emode.substring(0, 1).toLowerCase() + emode.substring(1);
|
||||
emode = emode.substring(0, 1).toLowerCase(Locale.ENGLISH) + emode.substring(1);
|
||||
sb.append(emode);
|
||||
} catch (Exception e) {
|
||||
sb.append("perform the CHAOS action");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue