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:
parent
4667e9493c
commit
cd593fb1ee
@ -295,6 +295,7 @@ public class CraftingManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inventorycrafting.currentRecipe = null; // CraftBukkit - Clear recipe when no recipe is found
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user