mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Stop forcing loiwercase world names
This commit is contained in:
parent
2f5ce67154
commit
95f509d337
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ public enum CommonSetupSteps implements SetupStep {
|
||||||
|
|
||||||
private static boolean isValidWorldName(String s) {
|
private static boolean isValidWorldName(String s) {
|
||||||
return s.chars().allMatch((i) -> {
|
return s.chars().allMatch((i) -> {
|
||||||
return i == 95 || i == 45 || i >= 97 && i <= 122 || i >= 48 && i <= 57 || i == 46;
|
return i == 95 || i == 45 || i >= 97 && i <= 122 || i >= 65 && i <= 90 || i >= 48 && i <= 57 || i == 46;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue