summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-01-11 10:38:34 +0100
committerandrew <xdotftw@gmail.com>2014-01-11 10:38:34 +0100
commit05e22dccf2682b61b32aa83241bbc52d57ddecaa (patch)
treee1359e0f03fd4f7321b4fcb85b329018df10b293
parentMerge pull request #522 from mc-server/LuaDlFix (diff)
downloadcuberite-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
-rw-r--r--src/Blocks/BlockGlowstone.h4
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));
}
} ;