summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockMelon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockMelon.h')
-rw-r--r--src/Blocks/BlockMelon.h2
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);