You can no longer color with wood
This commit is contained in:
parent
e919496025
commit
9da4011a7f
@ -50,6 +50,8 @@ void cSheep::OnRightClicked(cPlayer & a_Player)
|
|||||||
Drops.push_back(cItem(E_BLOCK_WOOL, NumDrops, m_WoolColor));
|
Drops.push_back(cItem(E_BLOCK_WOOL, NumDrops, m_WoolColor));
|
||||||
m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ(), 10);
|
m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ(), 10);
|
||||||
}
|
}
|
||||||
|
if (a_Player.GetEquippedItem().m_ItemType == E_ITEM_DYE
|
||||||
|
)
|
||||||
if (a_Player.GetEquippedItem().m_ItemDamage == E_META_DYE_BLACK)
|
if (a_Player.GetEquippedItem().m_ItemDamage == E_META_DYE_BLACK)
|
||||||
{
|
{
|
||||||
m_WoolColor = 15;
|
m_WoolColor = 15;
|
||||||
@ -211,3 +213,4 @@ void cSheep::OnRightClicked(cPlayer & a_Player)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user