13
0
geforkt von Mirrors/Velocity

[ci skip] Fix Javadocs of CookieRequestEvent (#1339)

Dieser Commit ist enthalten in:
Luccboy 2024-05-30 18:21:26 +02:00 committet von GitHub
Ursprung 07f1f9e7bd
Commit 46cf9be297
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194

Datei anzeigen

@ -14,9 +14,9 @@ import com.velocitypowered.api.proxy.Player;
import net.kyori.adventure.key.Key; import net.kyori.adventure.key.Key;
/** /**
* This event is fired when a cookie is requested from a client either by a proxy plugin or * This event is fired when a cookie from a client is requested either by a proxy plugin or
* by a backend server. Velocity will wait on this event to finish firing before discarding the * by a backend server. Velocity will wait on this event to finish firing before discarding the
* received cookie (if handled) or forwarding it to the backend server. * cookie request (if handled) or forwarding it to the client.
*/ */
@AwaitingEvent @AwaitingEvent
public final class CookieRequestEvent implements ResultedEvent<CookieRequestEvent.ForwardResult> { public final class CookieRequestEvent implements ResultedEvent<CookieRequestEvent.ForwardResult> {
@ -113,7 +113,7 @@ public final class CookieRequestEvent implements ResultedEvent<CookieRequestEven
} }
/** /**
* Allows the cookie response to be forwarded to the client, but silently replaces the * Allows the cookie request to be forwarded to the client, but silently replaces the
* identifier of the cookie with another. * identifier of the cookie with another.
* *
* @param key the identifier to use instead * @param key the identifier to use instead