3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-16 21:10:30 +01:00

Merge pull request #365 from STG-Allen/master

Added lowercase to invalid plugin id message
Dieser Commit ist enthalten in:
Andrew Steinborn 2020-09-14 10:12:48 -04:00 committet von GitHub
Commit 79d50abed2
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -69,7 +69,7 @@ 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 "
+ ". IDs must start alphabetically,be lowercase, have alphanumeric characters, and can "
+ "contain dashes or underscores.");
return false;
}