diff options
Diffstat (limited to 'patches/api/0056-Fix-upstream-javadocs.patch')
-rw-r--r-- | patches/api/0056-Fix-upstream-javadocs.patch | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/patches/api/0056-Fix-upstream-javadocs.patch b/patches/api/0056-Fix-upstream-javadocs.patch index f221402975..f31a77e295 100644 --- a/patches/api/0056-Fix-upstream-javadocs.patch +++ b/patches/api/0056-Fix-upstream-javadocs.patch @@ -850,10 +850,16 @@ index 1440c6115520d692faf75455df35b92aa8734491..0808e7aeffb69160913344de5b5e21d5 public class FurnaceStartSmeltEvent extends InventoryBlockStartEvent { private static final HandlerList handlers = new HandlerList(); diff --git a/src/main/java/org/bukkit/event/inventory/InventoryClickEvent.java b/src/main/java/org/bukkit/event/inventory/InventoryClickEvent.java -index 79797a2be7fb139d528116d34d13e51d39b96e56..fe58058f9b5d29388d48115cc81dc48ab08c58c1 100644 +index 79797a2be7fb139d528116d34d13e51d39b96e56..f2a2a2ad9930499c5bf624e73571a3294a90db14 100644 --- a/src/main/java/org/bukkit/event/inventory/InventoryClickEvent.java +++ b/src/main/java/org/bukkit/event/inventory/InventoryClickEvent.java -@@ -19,9 +19,10 @@ import org.jetbrains.annotations.Nullable; +@@ -16,12 +16,16 @@ import org.jetbrains.annotations.Nullable; + /** + * This event is called when a player clicks in an inventory. + * <p> ++ * In case of a drag action within an inventory, InventoryClickEvent is never called. ++ * Instead, {@link InventoryDragEvent} is called at the end of the drag. ++ * <p> * Because InventoryClickEvent occurs within a modification of the Inventory, * not all Inventory related methods are safe to use. * <p> @@ -867,7 +873,7 @@ index 79797a2be7fb139d528116d34d13e51d39b96e56..fe58058f9b5d29388d48115cc81dc48a * <ul> * <li>{@link HumanEntity#closeInventory()} * <li>{@link HumanEntity#openInventory(Inventory)} -@@ -92,7 +93,7 @@ public class InventoryClickEvent extends InventoryInteractEvent { +@@ -92,7 +96,7 @@ public class InventoryClickEvent extends InventoryInteractEvent { /** * Gets the ItemStack currently in the clicked slot. * |