summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-28 15:41:34 +0200
committerGitHub <noreply@github.com>2021-03-28 15:41:34 +0200
commit125df19477055a8e33b25aaafa05f5c59fd32626 (patch)
tree61cc24dd104d2c777dcfd0805ba685b0d540ec68 /src/Blocks/BlockHandler.h
parentUnify DoWithBlockEntity (#5168) (diff)
downloadcuberite-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 '')
-rw-r--r--src/Blocks/BlockHandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockHandler.h b/src/Blocks/BlockHandler.h
index ecf895d66..da067fd63 100644
--- a/src/Blocks/BlockHandler.h
+++ b/src/Blocks/BlockHandler.h
@@ -139,7 +139,7 @@ public:
a_Digger is the entity that caused the conversion, usually the player digging.
a_Tool is the tool used for the digging.
The default implementation drops a single item created from m_BlockType and the current meta. */
- virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, const cEntity * a_Digger = nullptr, const cItem * a_Tool = nullptr) const;
+ virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, const cItem * a_Tool = nullptr) const;
/** Checks if the block can stay at the specified relative coords in the chunk */
virtual bool CanBeAt(