mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 08:17:44 +01:00
SPIGOT-7416: SmithItemEvent not firing in Smithing Table
By: md_5 <git@md-5.net>
This commit is contained in:
parent
60c46c4b52
commit
acf9c704ac
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user