diff options
Diffstat (limited to 'nms-patches')
-rw-r--r-- | nms-patches/ContainerAnvil.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/ContainerAnvil.patch b/nms-patches/ContainerAnvil.patch index 967b3103..0541e3c9 100644 --- a/nms-patches/ContainerAnvil.patch +++ b/nms-patches/ContainerAnvil.patch @@ -55,6 +55,15 @@ this.a = 0; return; } +@@ -245,7 +254,7 @@ + } + + if (flag2 && !flag1) { +- this.g.setItem(0, ItemStack.a); ++ org.bukkit.craftbukkit.event.CraftEventFactory.callPrepareAnvilEvent(getBukkitView(), ItemStack.a); // CraftBukkit + this.a = 0; + return; + } @@ -292,7 +301,7 @@ EnchantmentManager.a(map, itemstack1); } |