From 6307efd2d141db611fef3dc362dcb10548129115 Mon Sep 17 00:00:00 2001 From: feildmaster Date: Sat, 14 Apr 2012 09:55:19 -0500 Subject: [PATCH] Set current recipe to null when a recipe isn't found. Fixes BUKKIT-1456 --- src/main/java/net/minecraft/server/CraftingManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/CraftingManager.java b/src/main/java/net/minecraft/server/CraftingManager.java index 54f4d3bedc..a5973bac7c 100644 --- a/src/main/java/net/minecraft/server/CraftingManager.java +++ b/src/main/java/net/minecraft/server/CraftingManager.java @@ -254,7 +254,7 @@ public class CraftingManager { // CraftBukkit end } } - + inventorycrafting.currentRecipe = null; // CraftBukkit return null; } }