From dc328d00a47767dbe62a33ec6808528116cf62a1 Mon Sep 17 00:00:00 2001 From: freya02 <41875020+freya022@users.noreply.github.com> Date: Sat, 18 Nov 2023 20:40:17 +0100 Subject: [PATCH] Fix docs --- src/main/java/net/dv8tion/jda/api/events/GenericEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/dv8tion/jda/api/events/GenericEvent.java b/src/main/java/net/dv8tion/jda/api/events/GenericEvent.java index 74b2fc9906..9592742709 100644 --- a/src/main/java/net/dv8tion/jda/api/events/GenericEvent.java +++ b/src/main/java/net/dv8tion/jda/api/events/GenericEvent.java @@ -52,7 +52,7 @@ public interface GenericEvent * *

Event extensions

* Classes extending JDA events may not keep their passthrough data, - * as the data is retrieved from an {@link InheritableThreadLocal}, + * as the data is retrieved from a {@link ThreadLocal}, * the passthrough data will only be found in instances constructed in the same thread as where the event was originally created, * or in newly created child threads. *
This means that existing threads (such as in thread pools) will not contain the passthrough data.