diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-02-01 17:35:48 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-02-01 17:35:48 +0100 |
commit | 6e39ed3868fa8feba676b0cda28194c249e549ce (patch) | |
tree | 9d3bbbff53ea50adb54389268c95aa7c79ea92c3 /src/Blocks/BlockHandler.h | |
parent | Changed Signiture of OnDestroyedByPlayer (diff) | |
download | cuberite-6e39ed3868fa8feba676b0cda28194c249e549ce.tar cuberite-6e39ed3868fa8feba676b0cda28194c249e549ce.tar.gz cuberite-6e39ed3868fa8feba676b0cda28194c249e549ce.tar.bz2 cuberite-6e39ed3868fa8feba676b0cda28194c249e549ce.tar.lz cuberite-6e39ed3868fa8feba676b0cda28194c249e549ce.tar.xz cuberite-6e39ed3868fa8feba676b0cda28194c249e549ce.tar.zst cuberite-6e39ed3868fa8feba676b0cda28194c249e549ce.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 a48a5a62b..867c4c2c5 100644 --- a/src/Blocks/BlockHandler.h +++ b/src/Blocks/BlockHandler.h @@ -63,7 +63,7 @@ public: static void NeighborChanged(cChunkInterface & a_ChunkInterface, int a_BlockX, int a_BlockY, int a_BlockZ); /// Called while the player diggs the block. - virtual void OnDigging(cWorld * a_World, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ); + virtual void OnDigging(cChunkInterface & cChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ); /// Called if the user right clicks the block and the block is useable virtual void OnUse(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ); |