Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-15 02:50:09 +01:00
Remove deprecated event warning for inventory result event (#8672)
Dieser Commit ist enthalten in:
Ursprung
c97581978a
Commit
1c535f96ac
@ -149,7 +149,7 @@ index fb172479ce28edbf969b9492236e30fb04395bf9..a7e03600099b8d6a117b8f5455fee24e
|
||||
+ // Paper - move HandlerList to PrepareInventoryResultEvent
|
||||
}
|
||||
diff --git a/src/main/java/org/bukkit/event/inventory/PrepareInventoryResultEvent.java b/src/main/java/org/bukkit/event/inventory/PrepareInventoryResultEvent.java
|
||||
index b543bc17fb9354d1939c67c1fb6c92d88fdbe4ec..656ffd4cf7851d6862cc9b675502efa03f4eb94c 100644
|
||||
index b543bc17fb9354d1939c67c1fb6c92d88fdbe4ec..0b58ffff39845b658dee7c35dcae6cdb333f20b3 100644
|
||||
--- a/src/main/java/org/bukkit/event/inventory/PrepareInventoryResultEvent.java
|
||||
+++ b/src/main/java/org/bukkit/event/inventory/PrepareInventoryResultEvent.java
|
||||
@@ -8,7 +8,9 @@ import org.jetbrains.annotations.Nullable;
|
||||
@ -158,7 +158,7 @@ index b543bc17fb9354d1939c67c1fb6c92d88fdbe4ec..656ffd4cf7851d6862cc9b675502efa0
|
||||
* Called when an item is put in a slot and the result is calculated.
|
||||
+ * @deprecated use {@link com.destroystokyo.paper.event.inventory.PrepareResultEvent}
|
||||
*/
|
||||
+@Deprecated // Paper
|
||||
+@Deprecated @org.bukkit.Warning(false) // Paper
|
||||
public class PrepareInventoryResultEvent extends InventoryEvent {
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren