Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-06 00:00:47 +01:00
Clarify that plugin IDs must be lowercase (#820)
Dieser Commit ist enthalten in:
Ursprung
8a63df2ace
Commit
fee292bcc9
@ -76,8 +76,8 @@ public class PluginAnnotationProcessor extends AbstractProcessor {
|
|||||||
if (!SerializedPluginDescription.ID_PATTERN.matcher(plugin.id()).matches()) {
|
if (!SerializedPluginDescription.ID_PATTERN.matcher(plugin.id()).matches()) {
|
||||||
environment.getMessager().printMessage(Diagnostic.Kind.ERROR, "Invalid ID for plugin "
|
environment.getMessager().printMessage(Diagnostic.Kind.ERROR, "Invalid ID for plugin "
|
||||||
+ qualifiedName
|
+ qualifiedName
|
||||||
+ ". IDs must start alphabetically, have alphanumeric characters, and can "
|
+ ". IDs must start alphabetically, have lowercase alphanumeric characters, and "
|
||||||
+ "contain dashes or underscores.");
|
+ "can contain dashes or underscores.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren