diff --git a/proxy/src/main/java/com/velocitypowered/proxy/event/VelocityEventManager.java b/proxy/src/main/java/com/velocitypowered/proxy/event/VelocityEventManager.java index d22243c61e..31f86dfffb 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/event/VelocityEventManager.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/event/VelocityEventManager.java @@ -319,7 +319,7 @@ private void collectMethods(final Class targetClass, if (returnType != void.class && continuationType == Continuation.class) { errors.add("method return type must be void if a continuation parameter is provided"); } else if (returnType != void.class && returnType != EventTask.class) { - errors.add("method return type must be void, AsyncTask, " + errors.add("method return type must be void, EventTask, " + "EventTask.Basic or EventTask.WithContinuation"); } else if (returnType == EventTask.class) { asyncType = AsyncType.SOMETIMES;