mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 14:37:43 +01:00
typo
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user