Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
freya022 committed Nov 18, 2023
1 parent dc328d0 commit 0064ec6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/net/dv8tion/jda/api/events/GenericEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0064ec6

Please sign in to comment.