mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-27 14:34:57 +01:00
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
1 changed files with 1 additions and 0 deletions
|
@ -295,6 +295,7 @@ public class CraftingManager {
|
|||
}
|
||||
}
|
||||
|
||||
inventorycrafting.currentRecipe = null; // CraftBukkit - Clear recipe when no recipe is found
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue