summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-01-11 15:52:48 +0100
committerMattes D <github@xoft.cz>2014-01-11 15:52:48 +0100
commit7a55f91be27ba3f01a8432b291a612c8d93e5da0 (patch)
treee1359e0f03fd4f7321b4fcb85b329018df10b293 /src
parentMerge pull request #522 from mc-server/LuaDlFix (diff)
parentFixed glowstone drop count (diff)
downloadcuberite-7a55f91be27ba3f01a8432b291a612c8d93e5da0.tar
cuberite-7a55f91be27ba3f01a8432b291a612c8d93e5da0.tar.gz
cuberite-7a55f91be27ba3f01a8432b291a612c8d93e5da0.tar.bz2
cuberite-7a55f91be27ba3f01a8432b291a612c8d93e5da0.tar.lz
cuberite-7a55f91be27ba3f01a8432b291a612c8d93e5da0.tar.xz
cuberite-7a55f91be27ba3f01a8432b291a612c8d93e5da0.tar.zst
cuberite-7a55f91be27ba3f01a8432b291a612c8d93e5da0.zip
Diffstat (limited to 'src')
-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));
}
} ;