Only apple leaves can drop apples
git-svn-id: http://mc-server.googlecode.com/svn/trunk@643 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
3cb643c9cb
commit
eab3f29bc0
@ -260,7 +260,10 @@ void cBlockToPickup::ToPickup(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, con
|
||||
else
|
||||
{
|
||||
AddRandomDrop(a_Drops, r1, 5, E_ITEM_SAPLING);
|
||||
AddRandomDrop(a_Drops, r1, 200, E_ITEM_APPLE);
|
||||
if (a_BlockMeta == E_META_LEAVES_APPLE)
|
||||
{
|
||||
AddRandomDrop(a_Drops, r1, 200, E_ITEM_APPLE);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user