From 402da0433dfb4ccbbeaf361724438f183307f71c Mon Sep 17 00:00:00 2001 From: allenclan23 Date: Mon, 14 Sep 2020 10:06:54 -0400 Subject: [PATCH] Added lowercase to invalid plugin id message --- .../api/plugin/ap/PluginAnnotationProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/ap/java/com/velocitypowered/api/plugin/ap/PluginAnnotationProcessor.java b/api/src/ap/java/com/velocitypowered/api/plugin/ap/PluginAnnotationProcessor.java index eef691ba4..2f5f8f81c 100644 --- a/api/src/ap/java/com/velocitypowered/api/plugin/ap/PluginAnnotationProcessor.java +++ b/api/src/ap/java/com/velocitypowered/api/plugin/ap/PluginAnnotationProcessor.java @@ -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; }