From 73c52d2df4af4bf287488cb61daa2203bb3fe081 Mon Sep 17 00:00:00 2001 From: Hy3z <61559158+Hy3z@users.noreply.github.com> Date: Fri, 12 Apr 2024 21:19:55 +0200 Subject: [PATCH] [ci skip] Referenced InventoryDragEvent in documentation of InventoryClickEvent (#10395) --- patches/api/Fix-upstream-javadocs.patch | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/patches/api/Fix-upstream-javadocs.patch b/patches/api/Fix-upstream-javadocs.patch index fefb73132d..b999d3a7dc 100644 --- a/patches/api/Fix-upstream-javadocs.patch +++ b/patches/api/Fix-upstream-javadocs.patch @@ -854,6 +854,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 --- a/src/main/java/org/bukkit/event/inventory/InventoryClickEvent.java +++ b/src/main/java/org/bukkit/event/inventory/InventoryClickEvent.java @@ -0,0 +0,0 @@ import org.jetbrains.annotations.Nullable; + /** + * This event is called when a player clicks in an inventory. + *

++ * In case of a drag action within an inventory, InventoryClickEvent is never called. ++ * Instead, {@link InventoryDragEvent} is called at the end of the drag. ++ *

* Because InventoryClickEvent occurs within a modification of the Inventory, * not all Inventory related methods are safe to use. *