diff options
Diffstat (limited to '')
-rw-r--r-- | source/Items/ItemShears.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Items/ItemShears.h b/source/Items/ItemShears.h index dbdfeff5d..d6cf48b3f 100644 --- a/source/Items/ItemShears.h +++ b/source/Items/ItemShears.h @@ -25,7 +25,7 @@ public: }
- virtual bool OnDiggingBlock(cWorld *a_World, cPlayer *a_Player, cItem *a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Dir) override
+ virtual bool OnDiggingBlock(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Dir) override
{
BLOCKTYPE Block = a_World->GetBlock(a_BlockX, a_BlockY, a_BlockZ);
if (Block == E_BLOCK_LEAVES)
|