Set current recipe to null when a recipe isn't found. Fixes BUKKIT-2311

This commit restores the diff from 84dbc21aa71b96fd1d2ea40d624b536309118cde
that has since been lost.
This commit is contained in:
T00thpick1 authored and Travis Ralston committed 2013-08-28 08:14:01 -06:00
1 parent 4667e9493c
commit cd593fb1ee
1 file changed
+1
@@ -295,6 +295,7 @@ public class CraftingManager {
}
}
inventorycrafting.currentRecipe = null; // CraftBukkit - Clear recipe when no recipe is found
return null;
}
}