From 7d05e4402fd8c745bdf09b5eb12d6f46a7c0197a Mon Sep 17 00:00:00 2001 From: Mat Date: Mon, 23 Mar 2020 11:39:32 +0200 Subject: [PATCH] Don't attempt to give bucket with item count of 0 --- src/CraftingRecipes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CraftingRecipes.cpp b/src/CraftingRecipes.cpp index a2a257a40..e986a2f87 100644 --- a/src/CraftingRecipes.cpp +++ b/src/CraftingRecipes.cpp @@ -170,7 +170,7 @@ void cCraftingGrid::ConsumeGrid(const cCraftingGrid & a_Grid) { 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); + m_Items[ThisIdx] = cItem(E_ITEM_BUCKET); } else {