diff options
author | Mat <mail@mathias.is> | 2020-03-23 21:07:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-23 21:07:08 +0100 |
commit | 0d0d019bbe6d7d6ce80056a6f249e69d5bb865bd (patch) | |
tree | 08767102c2360e78aada2ef3c76bea95ad4a909f /src/Blocks/BlockFlowerPot.h | |
parent | Enable functional packets in 1.13 (diff) | |
download | cuberite-0d0d019bbe6d7d6ce80056a6f249e69d5bb865bd.tar cuberite-0d0d019bbe6d7d6ce80056a6f249e69d5bb865bd.tar.gz cuberite-0d0d019bbe6d7d6ce80056a6f249e69d5bb865bd.tar.bz2 cuberite-0d0d019bbe6d7d6ce80056a6f249e69d5bb865bd.tar.lz cuberite-0d0d019bbe6d7d6ce80056a6f249e69d5bb865bd.tar.xz cuberite-0d0d019bbe6d7d6ce80056a6f249e69d5bb865bd.tar.zst cuberite-0d0d019bbe6d7d6ce80056a6f249e69d5bb865bd.zip |
Diffstat (limited to 'src/Blocks/BlockFlowerPot.h')
-rw-r--r-- | src/Blocks/BlockFlowerPot.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/Blocks/BlockFlowerPot.h b/src/Blocks/BlockFlowerPot.h index 36c71df5b..b552e2c81 100644 --- a/src/Blocks/BlockFlowerPot.h +++ b/src/Blocks/BlockFlowerPot.h @@ -8,9 +8,9 @@ class cBlockFlowerPotHandler : - public cClearMetaOnDrop<cBlockEntityHandler> + public cBlockEntityHandler { - using super = cClearMetaOnDrop<cBlockEntityHandler>; + using super = cBlockEntityHandler; public: @@ -23,6 +23,15 @@ public: + virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, cBlockEntity * a_BlockEntity, const cEntity * a_Digger, const cItem * a_Tool) override + { + return cItem(E_ITEM_FLOWER_POT, 1, 0); + } + + + + + virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override { UNUSED(a_Meta); |