diff --git a/paper-api/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java b/paper-api/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java index 4acc712992..8e42311a38 100644 --- a/paper-api/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java +++ b/paper-api/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java @@ -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) {