Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
typo
Dieser Commit ist enthalten in:
Ursprung
d1030c3096
Commit
3579532892
@ -319,7 +319,7 @@ public class VelocityEventManager implements EventManager {
|
|||||||
if (returnType != void.class && continuationType == Continuation.class) {
|
if (returnType != void.class && continuationType == Continuation.class) {
|
||||||
errors.add("method return type must be void if a continuation parameter is provided");
|
errors.add("method return type must be void if a continuation parameter is provided");
|
||||||
} else if (returnType != void.class && returnType != EventTask.class) {
|
} 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");
|
+ "EventTask.Basic or EventTask.WithContinuation");
|
||||||
} else if (returnType == EventTask.class) {
|
} else if (returnType == EventTask.class) {
|
||||||
asyncType = AsyncType.SOMETIMES;
|
asyncType = AsyncType.SOMETIMES;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren