diff options
author | andrew <xdotftw@gmail.com> | 2014-01-11 10:38:34 +0100 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-01-11 10:38:34 +0100 |
commit | 05e22dccf2682b61b32aa83241bbc52d57ddecaa (patch) | |
tree | e1359e0f03fd4f7321b4fcb85b329018df10b293 /src | |
parent | Merge pull request #522 from mc-server/LuaDlFix (diff) | |
download | cuberite-05e22dccf2682b61b32aa83241bbc52d57ddecaa.tar cuberite-05e22dccf2682b61b32aa83241bbc52d57ddecaa.tar.gz cuberite-05e22dccf2682b61b32aa83241bbc52d57ddecaa.tar.bz2 cuberite-05e22dccf2682b61b32aa83241bbc52d57ddecaa.tar.lz cuberite-05e22dccf2682b61b32aa83241bbc52d57ddecaa.tar.xz cuberite-05e22dccf2682b61b32aa83241bbc52d57ddecaa.tar.zst cuberite-05e22dccf2682b61b32aa83241bbc52d57ddecaa.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/Blocks/BlockGlowstone.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockGlowstone.h b/src/Blocks/BlockGlowstone.h index 5f0d95dee..6c198efc4 100644 --- a/src/Blocks/BlockGlowstone.h +++ b/src/Blocks/BlockGlowstone.h @@ -20,8 +20,8 @@ public: virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override { // Reset meta to 0 - // TODO: More drops? - a_Pickups.push_back(cItem(E_ITEM_GLOWSTONE_DUST, 1, 0)); + MTRand r1; + a_Pickups.push_back(cItem(E_ITEM_GLOWSTONE_DUST, (char)(2 + r1.randInt(2)), 0)); } } ; |