diff options
author | T00thpick1 <t00thpick1dirko@gmail.com> | 2013-08-12 10:47:42 -0400 |
---|---|---|
committer | Travis Ralston <travpc@gmail.com> | 2013-08-28 08:14:01 -0600 |
commit | cd593fb1ee8daec938df92880deeedb977cd17b3 (patch) | |
tree | c693413826ce3a260cb62271335c6e35a3a78e39 /src/main/java/net | |
parent | 4667e9493c0479729dd47238cc9e06efe54e0b12 (diff) | |
download | craftbukkit-cd593fb1ee8daec938df92880deeedb977cd17b3.tar craftbukkit-cd593fb1ee8daec938df92880deeedb977cd17b3.tar.gz craftbukkit-cd593fb1ee8daec938df92880deeedb977cd17b3.tar.lz craftbukkit-cd593fb1ee8daec938df92880deeedb977cd17b3.tar.xz craftbukkit-cd593fb1ee8daec938df92880deeedb977cd17b3.zip |
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.
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/minecraft/server/CraftingManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/CraftingManager.java b/src/main/java/net/minecraft/server/CraftingManager.java index e9ef11bd..46985b5d 100644 --- a/src/main/java/net/minecraft/server/CraftingManager.java +++ b/src/main/java/net/minecraft/server/CraftingManager.java @@ -295,6 +295,7 @@ public class CraftingManager { } } + inventorycrafting.currentRecipe = null; // CraftBukkit - Clear recipe when no recipe is found return null; } } |