summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-03-24 19:52:35 +0100
committerHowaner <franzi.moos@googlemail.com>2014-03-24 19:52:35 +0100
commita6414d334834692c1d8b573b1e90c464d4d4469c (patch)
treeb0cf954f021309ccba025151562d2c995f8b1c6c
parentChange if-clause in BlockCake.h (diff)
downloadcuberite-a6414d334834692c1d8b573b1e90c464d4d4469c.tar
cuberite-a6414d334834692c1d8b573b1e90c464d4d4469c.tar.gz
cuberite-a6414d334834692c1d8b573b1e90c464d4d4469c.tar.bz2
cuberite-a6414d334834692c1d8b573b1e90c464d4d4469c.tar.lz
cuberite-a6414d334834692c1d8b573b1e90c464d4d4469c.tar.xz
cuberite-a6414d334834692c1d8b573b1e90c464d4d4469c.tar.zst
cuberite-a6414d334834692c1d8b573b1e90c464d4d4469c.zip
-rw-r--r--src/Blocks/BlockSideways.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Blocks/BlockSideways.h b/src/Blocks/BlockSideways.h
index 69c0a7230..d67c3aa24 100644
--- a/src/Blocks/BlockSideways.h
+++ b/src/Blocks/BlockSideways.h
@@ -29,7 +29,13 @@ public:
return true;
}
-
+
+ virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
+ {
+ a_Pickups.Add(m_BlockType, 1, a_BlockMeta & 0x3);
+ }
+
+
inline static NIBBLETYPE BlockFaceToMetaData(eBlockFace a_BlockFace, NIBBLETYPE a_WoodMeta)
{
switch (a_BlockFace)