Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-14 20:10:05 +01:00
annotate
Dieser Commit ist enthalten in:
Ursprung
1decaa9f33
Commit
1958431988
@ -5,10 +5,18 @@ Subject: [PATCH] Fix InventoryAction wrong for Bundles
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/event/inventory/InventoryAction.java b/src/main/java/org/bukkit/event/inventory/InventoryAction.java
|
||||
index b2bcc891196d487cf4c1962b51ec439e921f49f6..f5abc15444e0d6b50e3a82d0a452fc237be155a0 100644
|
||||
index b2bcc891196d487cf4c1962b51ec439e921f49f6..22224c71f628808bff25c2b0868973f9c05bd7c2 100644
|
||||
--- a/src/main/java/org/bukkit/event/inventory/InventoryAction.java
|
||||
+++ b/src/main/java/org/bukkit/event/inventory/InventoryAction.java
|
||||
@@ -93,5 +93,38 @@ public enum InventoryAction {
|
||||
@@ -1,5 +1,7 @@
|
||||
package org.bukkit.event.inventory;
|
||||
|
||||
+import org.jetbrains.annotations.ApiStatus; // Paper - Fix InventoryAction wrong for Bundles
|
||||
+
|
||||
/**
|
||||
* An estimation of what the result will be.
|
||||
*/
|
||||
@@ -93,5 +95,46 @@ public enum InventoryAction {
|
||||
* An unrecognized ClickType.
|
||||
*/
|
||||
UNKNOWN,
|
||||
@ -17,34 +25,42 @@ index b2bcc891196d487cf4c1962b51ec439e921f49f6..f5abc15444e0d6b50e3a82d0a452fc23
|
||||
+ /**
|
||||
+ * The first stack of items in the clicked bundle is moved to the cursor.
|
||||
+ */
|
||||
+ @ApiStatus.Internal
|
||||
+ PICKUP_FROM_BUNDLE,
|
||||
+ /**
|
||||
+ * All of the items on the clicked slot are moved into the bundle on the cursor.
|
||||
+ */
|
||||
+ @ApiStatus.Internal
|
||||
+ PICKUP_ALL_INTO_BUNDLE,
|
||||
+ /**
|
||||
+ * Some of the items on the clicked slot are moved into the bundle on the cursor.
|
||||
+ */
|
||||
+ @ApiStatus.Internal
|
||||
+ PICKUP_SOME_INTO_BUNDLE,
|
||||
+ /**
|
||||
+ * One of the items on the clicked slot is moved into the bundle on the cursor.
|
||||
+ */
|
||||
+ @ApiStatus.Internal
|
||||
+ PICKUP_ONE_INTO_BUNDLE,
|
||||
+ /**
|
||||
+ * The first stack of items is moved to the clicked slot.
|
||||
+ */
|
||||
+ @ApiStatus.Internal
|
||||
+ PLACE_FROM_BUNDLE,
|
||||
+ /**
|
||||
+ * All of the items on the cursor are moved into the bundle in the clicked slot.
|
||||
+ */
|
||||
+ @ApiStatus.Internal
|
||||
+ PLACE_ALL_INTO_BUNDLE,
|
||||
+ /**
|
||||
+ * Some of the items on the cursor are moved into the bundle in the clicked slot.
|
||||
+ */
|
||||
+ @ApiStatus.Internal
|
||||
+ PLACE_SOME_INTO_BUNDLE,
|
||||
+ /**
|
||||
+ * One of the items on the cursor is moved into the bundle in the clicked slot.
|
||||
+ */
|
||||
+ @ApiStatus.Internal
|
||||
+ PLACE_ONE_INTO_BUNDLE,
|
||||
+ // Paper end - Fix InventoryAction wrong for Bundles
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren