1
0

Add comment.

This commit is contained in:
Howaner 2014-06-26 17:26:47 +02:00
parent f96955496f
commit bf3229867b

View File

@ -134,6 +134,7 @@ void cArrowEntity::CollectedBy(cPlayer * a_Dest)
{
if (m_IsInGround && !m_bIsCollected && CanPickup(*a_Dest))
{
// The arrow won't added to the inventory, when the player is creative
if (!a_Dest->IsGameModeCreative())
{
int NumAdded = a_Dest->GetInventory().AddItem(E_ITEM_ARROW);