geforkt von Mirrors/Paper
[ci skip] Referenced InventoryDragEvent in documentation of InventoryClickEvent (#10395)
Dieser Commit ist enthalten in:
Ursprung
89528bff42
Commit
73c52d2df4
@ -854,6 +854,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
--- a/src/main/java/org/bukkit/event/inventory/InventoryClickEvent.java
|
--- a/src/main/java/org/bukkit/event/inventory/InventoryClickEvent.java
|
||||||
+++ b/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;
|
@@ -0,0 +0,0 @@ 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,
|
* Because InventoryClickEvent occurs within a modification of the Inventory,
|
||||||
* not all Inventory related methods are safe to use.
|
* not all Inventory related methods are safe to use.
|
||||||
* <p>
|
* <p>
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren