mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-04-12 16:50:31 +08:00
Clarify that plugin IDs must be lowercase (#820)
This commit is contained in:
parent
8a63df2ace
commit
fee292bcc9
@ -76,8 +76,8 @@ public class PluginAnnotationProcessor extends AbstractProcessor {
|
||||
if (!SerializedPluginDescription.ID_PATTERN.matcher(plugin.id()).matches()) {
|
||||
environment.getMessager().printMessage(Diagnostic.Kind.ERROR, "Invalid ID for plugin "
|
||||
+ qualifiedName
|
||||
+ ". IDs must start alphabetically, have alphanumeric characters, and can "
|
||||
+ "contain dashes or underscores.");
|
||||
+ ". IDs must start alphabetically, have lowercase alphanumeric characters, and "
|
||||
+ "can contain dashes or underscores.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user