Don't attempt to give bucket with item count of 0
This commit is contained in:
parent
4b57513dd6
commit
7d05e4402f
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user