summaryrefslogtreecommitdiffstats
path: root/source/blocks/Block.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/blocks/Block.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blocks/Block.h b/source/blocks/Block.h
index 50c541551..2683cc3b5 100644
--- a/source/blocks/Block.h
+++ b/source/blocks/Block.h
@@ -18,7 +18,8 @@ public:
virtual void OnDestroyed(cWorld *a_World, int a_X, int a_Y, int a_Z);
virtual void OnNeighborChanged(cWorld *a_World, int a_X, int a_Y, int a_Z);
static void NeighborChanged(cWorld *a_World, int a_X, int a_Y, int a_Z);
- virtual void OnClick(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z);
+ virtual void OnDigging(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z);
+ virtual void OnUse(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z);
virtual void PlaceBlock(cWorld *a_World, cPlayer *a_Player, NIBBLETYPE a_BlockMeta, int a_X, int a_Y, int a_Z, char a_Dir);
virtual int GetTickRate();