From acf9c704ac9f1b7b4c4ceac2a95e0501bcaec9c8 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sat, 1 Jul 2023 09:25:36 +1000 Subject: [PATCH] SPIGOT-7416: SmithItemEvent not firing in Smithing Table By: md_5 --- .../net/minecraft/server/network/PlayerConnection.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/nms-patches/net/minecraft/server/network/PlayerConnection.patch b/paper-server/nms-patches/net/minecraft/server/network/PlayerConnection.patch index 0227ec7535..f041f77279 100644 --- a/paper-server/nms-patches/net/minecraft/server/network/PlayerConnection.patch +++ b/paper-server/nms-patches/net/minecraft/server/network/PlayerConnection.patch @@ -1554,7 +1554,7 @@ + } + } + -+ if (packetplayinwindowclick.getSlotNum() == 2 && top instanceof SmithingInventory) { ++ if (packetplayinwindowclick.getSlotNum() == 3 && top instanceof SmithingInventory) { + org.bukkit.inventory.ItemStack result = ((SmithingInventory) top).getResult(); + if (result != null) { + if (click == ClickType.NUMBER_KEY) {