diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-09-13 23:49:27 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-09-13 23:49:27 +0200 |
commit | fdabfd77e22397e149740bb5cb09a2f77805f05f (patch) | |
tree | 3e4ee70220e45bd7359febe0e3191430d2c8b7fa /src/Blocks/BlockHandler.h | |
parent | Entities experience water resistance (diff) | |
download | cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.gz cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.bz2 cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.lz cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.xz cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.zst cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.zip |
Diffstat (limited to 'src/Blocks/BlockHandler.h')
-rw-r--r-- | src/Blocks/BlockHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockHandler.h b/src/Blocks/BlockHandler.h index b3ada279c..3a8115da0 100644 --- a/src/Blocks/BlockHandler.h +++ b/src/Blocks/BlockHandler.h @@ -82,7 +82,7 @@ public: @param a_CanDrop Informs the handler whether the block should be dropped at all. One example when this is false is when stone is destroyed by hand @param a_DropVerbatim Calls ConvertToVerbatimPickups() instead of its counterpart, meaning the block itself is dropped by default (due to a speical tool or enchantment) */ - virtual void DropBlock(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cBlockPluginInterface & a_BlockPluginInterface, cEntity * a_Digger, int a_BlockX, int a_BlockY, int a_BlockZ, bool a_CanDrop = true, bool a_DropVerbatim = false); + virtual void DropBlock(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cBlockPluginInterface & a_BlockPluginInterface, cEntity * a_Digger, int a_BlockX, int a_BlockY, int a_BlockZ, bool a_CanDrop = true); /// Checks if the block can stay at the specified relative coords in the chunk virtual bool CanBeAt(cChunkInterface & a_ChunkInterface, int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk); |