Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Added lowercase to invalid plugin id message
Dieser Commit ist enthalten in:
Ursprung
debb3dd1fe
Commit
402da0433d
@ -69,7 +69,7 @@ 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,be lowercase, have alphanumeric characters, and can "
|
||||||
+ "contain dashes or underscores.");
|
+ "contain dashes or underscores.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren