mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 01:25:03 +01:00
Remove deprecated event warning for inventory result event (#8672)
This commit is contained in:
parent
c97581978a
commit
1c535f96ac
1 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ index fb172479ce28edbf969b9492236e30fb04395bf9..a7e03600099b8d6a117b8f5455fee24e
|
||||||
+ // Paper - move HandlerList to PrepareInventoryResultEvent
|
+ // 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
|
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
|
--- a/src/main/java/org/bukkit/event/inventory/PrepareInventoryResultEvent.java
|
||||||
+++ b/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;
|
@@ -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.
|
* Called when an item is put in a slot and the result is calculated.
|
||||||
+ * @deprecated use {@link com.destroystokyo.paper.event.inventory.PrepareResultEvent}
|
+ * @deprecated use {@link com.destroystokyo.paper.event.inventory.PrepareResultEvent}
|
||||||
*/
|
*/
|
||||||
+@Deprecated // Paper
|
+@Deprecated @org.bukkit.Warning(false) // Paper
|
||||||
public class PrepareInventoryResultEvent extends InventoryEvent {
|
public class PrepareInventoryResultEvent extends InventoryEvent {
|
||||||
|
|
||||||
private static final HandlerList handlers = new HandlerList();
|
private static final HandlerList handlers = new HandlerList();
|
||||||
|
|
Loading…
Add table
Reference in a new issue