diff options
author | Nounours Heureux <schtroumps31@gmail.com> | 2015-06-07 15:21:41 +0200 |
---|---|---|
committer | Nounours Heureux <schtroumps31@gmail.com> | 2015-06-07 15:22:47 +0200 |
commit | 24210cbd6f6aa4646472bb813435ed2a1490f4a5 (patch) | |
tree | 61da2f63d69fd89378d0ea867c5234f12d501ccf /src | |
parent | Cake crafting now give back the bucket (diff) | |
download | cuberite-24210cbd6f6aa4646472bb813435ed2a1490f4a5.tar cuberite-24210cbd6f6aa4646472bb813435ed2a1490f4a5.tar.gz cuberite-24210cbd6f6aa4646472bb813435ed2a1490f4a5.tar.bz2 cuberite-24210cbd6f6aa4646472bb813435ed2a1490f4a5.tar.lz cuberite-24210cbd6f6aa4646472bb813435ed2a1490f4a5.tar.xz cuberite-24210cbd6f6aa4646472bb813435ed2a1490f4a5.tar.zst cuberite-24210cbd6f6aa4646472bb813435ed2a1490f4a5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/CraftingRecipes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CraftingRecipes.cpp b/src/CraftingRecipes.cpp index f37d52779..c6a407d4b 100644 --- a/src/CraftingRecipes.cpp +++ b/src/CraftingRecipes.cpp @@ -168,7 +168,7 @@ void cCraftingGrid::ConsumeGrid(const cCraftingGrid & a_Grid) m_Items[ThisIdx].m_ItemCount -= NumWantedItems; if (m_Items[ThisIdx].m_ItemCount == 0) { - if (m_Items[ThisIdx].m_ItemType == E_ITEM_MILK || m_Items[ThisIdx].m_ItemType == E_ITEM_WATER_BUCKET || m_Items[ThisIdx].m_ItemType == E_ITEM_LAVA_BUCKET) + if ((m_Items[ThisIdx].m_ItemType == E_ITEM_MILK) || (m_Items[ThisIdx].m_ItemType == E_ITEM_WATER_BUCKET) || (m_Items[ThisIdx].m_ItemType == E_ITEM_LAVA_BUCKET)) { m_Items[ThisIdx] = cItem(E_ITEM_BUCKET, m_Items[ThisIdx].m_ItemCount); } |