diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-03-28 15:41:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-28 15:41:34 +0200 |
commit | 125df19477055a8e33b25aaafa05f5c59fd32626 (patch) | |
tree | 61cc24dd104d2c777dcfd0805ba685b0d540ec68 /src/Blocks/BlockMelon.h | |
parent | Unify DoWithBlockEntity (#5168) (diff) | |
download | cuberite-125df19477055a8e33b25aaafa05f5c59fd32626.tar cuberite-125df19477055a8e33b25aaafa05f5c59fd32626.tar.gz cuberite-125df19477055a8e33b25aaafa05f5c59fd32626.tar.bz2 cuberite-125df19477055a8e33b25aaafa05f5c59fd32626.tar.lz cuberite-125df19477055a8e33b25aaafa05f5c59fd32626.tar.xz cuberite-125df19477055a8e33b25aaafa05f5c59fd32626.tar.zst cuberite-125df19477055a8e33b25aaafa05f5c59fd32626.zip |
Diffstat (limited to 'src/Blocks/BlockMelon.h')
-rw-r--r-- | src/Blocks/BlockMelon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockMelon.h b/src/Blocks/BlockMelon.h index 6a90f217a..9fa68fc1e 100644 --- a/src/Blocks/BlockMelon.h +++ b/src/Blocks/BlockMelon.h @@ -18,7 +18,7 @@ public: private: - virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, const cEntity * a_Digger, const cItem * a_Tool) const override + virtual cItems ConvertToPickups(const NIBBLETYPE a_BlockMeta, const cItem * const a_Tool) const override { const auto DropNum = FortuneDiscreteRandom(3, 7, ToolFortuneLevel(a_Tool), 9); return cItem(E_ITEM_MELON_SLICE, DropNum); |