From 35795328925f1515ebf7158266bb39dc191d5a23 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sun, 14 May 2023 04:37:32 -0400 Subject: [PATCH] typo --- .../com/velocitypowered/proxy/event/VelocityEventManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d22243c61..31f86dfff 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 @@ public class VelocityEventManager implements EventManager { 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;