summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-12-13 15:46:26 +0100
committerJulian Laubstein <julianlaubstein@yahoo.de>2015-12-13 15:46:43 +0100
commit378b2b8ca68585bf813d6d8ef8228d38ffe83890 (patch)
tree22eff71c64f428eb8418a40f469ffa02bb61d193 /src
parentMerge pull request #2743 from SafwatHalaby/wart (diff)
downloadcuberite-378b2b8ca68585bf813d6d8ef8228d38ffe83890.tar
cuberite-378b2b8ca68585bf813d6d8ef8228d38ffe83890.tar.gz
cuberite-378b2b8ca68585bf813d6d8ef8228d38ffe83890.tar.bz2
cuberite-378b2b8ca68585bf813d6d8ef8228d38ffe83890.tar.lz
cuberite-378b2b8ca68585bf813d6d8ef8228d38ffe83890.tar.xz
cuberite-378b2b8ca68585bf813d6d8ef8228d38ffe83890.tar.zst
cuberite-378b2b8ca68585bf813d6d8ef8228d38ffe83890.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockHopper.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Blocks/BlockHopper.h b/src/Blocks/BlockHopper.h
index 22f800f28..0c0871fdd 100644
--- a/src/Blocks/BlockHopper.h
+++ b/src/Blocks/BlockHopper.h
@@ -53,6 +53,12 @@ public:
return a_Meta;
}
+ virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
+ {
+ // Reset meta to 0
+ a_Pickups.push_back(cItem(m_BlockType, 1, 0));
+ }
+
virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override
{
UNUSED(a_Meta);