mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Forgot we have windows to support as well
This commit is contained in:
parent
d2d7ea50eb
commit
bb3e3325ad
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ public final class PluginDescriptionFile {
|
|||
try {
|
||||
name = map.get("name").toString();
|
||||
|
||||
if (!name.matches("^[A-Za-z0-9()\\[\\]{}_.-]+$")) {
|
||||
if (!name.matches("^[A-Za-z0-9_.-]+$")) {
|
||||
throw new InvalidDescriptionException("name '" + name + "' contains invalid characters.");
|
||||
}
|
||||
} catch (NullPointerException ex) {
|
||||
|
|
Loading…
Add table
Reference in a new issue