summaryrefslogtreecommitdiffstats
path: root/source/items/Item.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/items/Item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/items/Item.h b/source/items/Item.h
index 5fe260fd8..f3d5842b8 100644
--- a/source/items/Item.h
+++ b/source/items/Item.h
@@ -19,7 +19,7 @@ class cItemHandler
public:
cItemHandler(int a_ItemID);
virtual bool OnItemUse(cWorld *a_World, cPlayer *a_Player, cItem *a_Item, int a_X, int a_Y, int a_Z, char a_Dir); //eg for fishing or hoes
- virtual bool OnDiggingBlock(cWorld *a_World, cPlayer *a_Player, cItem *a_Item, int a_X, int a_Y, int a_Z, char a_Dir);
+ virtual bool OnDiggingBlock(cWorld * a_World, cPlayer * a_Player, cItem * a_HeldItem, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace);
virtual void OnBlockDestroyed(cWorld *a_World, cPlayer *a_Player, cItem *a_Item, int a_X, int a_Y, int a_Z);
virtual void OnFoodEaten(cWorld *a_World, cPlayer *a_Player, cItem *a_Item);