diff options
author | Lukas Pioch <lukas@zgow.de> | 2020-04-19 18:36:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-19 18:36:31 +0200 |
commit | cb64e9937775abacfaf05e273b0e082092b4b827 (patch) | |
tree | c686061824f4e26dc62187b649ecfea6917c8792 /src | |
parent | Reduce arrows going black on hit (diff) | |
download | cuberite-cb64e9937775abacfaf05e273b0e082092b4b827.tar cuberite-cb64e9937775abacfaf05e273b0e082092b4b827.tar.gz cuberite-cb64e9937775abacfaf05e273b0e082092b4b827.tar.bz2 cuberite-cb64e9937775abacfaf05e273b0e082092b4b827.tar.lz cuberite-cb64e9937775abacfaf05e273b0e082092b4b827.tar.xz cuberite-cb64e9937775abacfaf05e273b0e082092b4b827.tar.zst cuberite-cb64e9937775abacfaf05e273b0e082092b4b827.zip |
Diffstat (limited to '')
-rw-r--r-- | src/FurnaceRecipe.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/FurnaceRecipe.cpp b/src/FurnaceRecipe.cpp index 3b3141418..3085d4e46 100644 --- a/src/FurnaceRecipe.cpp +++ b/src/FurnaceRecipe.cpp @@ -290,7 +290,7 @@ const cFurnaceRecipe::cRecipe * cFurnaceRecipe::GetRecipeFrom(const cItem & a_In { continue; } - else + else if ((Recipe.In->m_ItemDamage == -1) || (Recipe.In->m_ItemDamage == a_Ingredient.m_ItemDamage)) { BestRecipe = &Recipe; } @@ -342,4 +342,3 @@ int cFurnaceRecipe::GetBurnTime(const cItem & a_Fuel) const - |