From 0064ec686d6ad38aec77d5e01efbe9ca8f5884f1 Mon Sep 17 00:00:00 2001 From: freya02 <41875020+freya022@users.noreply.github.com> Date: Sat, 18 Nov 2023 20:40:53 +0100 Subject: [PATCH] Fix docs --- src/main/java/net/dv8tion/jda/api/events/GenericEvent.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 9592742709..08a8a55cb6 100644 --- a/src/main/java/net/dv8tion/jda/api/events/GenericEvent.java +++ b/src/main/java/net/dv8tion/jda/api/events/GenericEvent.java @@ -53,8 +53,7 @@ public interface GenericEvent * <h3>Event extensions</h3> * Classes extending JDA events may not keep their passthrough data, * 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. + * the passthrough data will only be found in instances constructed in the same thread as where the event was originally created. * <br>This means that existing threads (such as in thread pools) will <b>not</b> contain the passthrough data. * * <p>To fix this issue, you may override this method, and get the passthrough data from the original event.