From 02d5cb7b2b7d126ebbba8321c9569052d95cf8a1 Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Fri, 24 Mar 2023 13:19:17 -0700 Subject: [PATCH] Don't warn for deprecated PrepareGrindstoneEvent (#9036) --- patches/api/Add-PrepareResultEvent-PrepareGrindstoneEvent.patch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/patches/api/Add-PrepareResultEvent-PrepareGrindstoneEvent.patch b/patches/api/Add-PrepareResultEvent-PrepareGrindstoneEvent.patch index f9d94b5bf3..d6f443c481 100644 --- a/patches/api/Add-PrepareResultEvent-PrepareGrindstoneEvent.patch +++ b/patches/api/Add-PrepareResultEvent-PrepareGrindstoneEvent.patch @@ -17,6 +17,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 @@ -0,0 +0,0 @@ +package com.destroystokyo.paper.event.inventory; + ++import org.bukkit.Warning; +import org.bukkit.inventory.GrindstoneInventory; +import org.bukkit.inventory.InventoryView; +import org.bukkit.inventory.ItemStack; @@ -28,6 +29,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + * @deprecated use {@link org.bukkit.event.inventory.PrepareGrindstoneEvent} + */ +@Deprecated ++@Warning(false) +public class PrepareGrindstoneEvent extends PrepareResultEvent { + + public PrepareGrindstoneEvent(@NotNull InventoryView inventory, @Nullable ItemStack result) {