Fixed glowstone drop count
This commit is contained in:
parent
e213769216
commit
05e22dccf2
@ -20,8 +20,8 @@ public:
|
|||||||
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
|
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
|
||||||
{
|
{
|
||||||
// Reset meta to 0
|
// Reset meta to 0
|
||||||
// TODO: More drops?
|
MTRand r1;
|
||||||
a_Pickups.push_back(cItem(E_ITEM_GLOWSTONE_DUST, 1, 0));
|
a_Pickups.push_back(cItem(E_ITEM_GLOWSTONE_DUST, (char)(2 + r1.randInt(2)), 0));
|
||||||
}
|
}
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user