diff --git a/patches/minecraft/net/minecraft/world/inventory/GrindstoneMenu.java.patch b/patches/minecraft/net/minecraft/world/inventory/GrindstoneMenu.java.patch index fa89a33968..954836aefd 100644 --- a/patches/minecraft/net/minecraft/world/inventory/GrindstoneMenu.java.patch +++ b/patches/minecraft/net/minecraft/world/inventory/GrindstoneMenu.java.patch @@ -44,7 +44,7 @@ boolean flag = !itemstack.m_41619_() || !itemstack1.m_41619_(); boolean flag1 = !itemstack.m_41619_() && !itemstack1.m_41619_(); + this.xp = net.minecraftforge.common.ForgeHooks.onGrindstoneChange(itemstack, itemstack1, this.f_39559_, -1); -+ if (this.xp != Integer.MIN_VALUE) return; ++ if (this.xp == Integer.MIN_VALUE) if (!flag) { this.f_39559_.m_6836_(0, ItemStack.f_41583_); } else {