mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Stop forcing loiwercase world names
This commit is contained in:
parent
2f5ce67154
commit
95f509d337
@ -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 New Issue
Block a user