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

This commit is contained in:
Luccboy
2024-05-30 18:21:26 +02:00
committed by GitHub
parent 07f1f9e7bd
commit 46cf9be297

View File

@@ -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