diff options
Diffstat (limited to '')
-rw-r--r-- | source/Items/ItemMinecart.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Items/ItemMinecart.h b/source/Items/ItemMinecart.h index 41e0e9ed7..ca8cc16aa 100644 --- a/source/Items/ItemMinecart.h +++ b/source/Items/ItemMinecart.h @@ -29,7 +29,7 @@ public: - virtual bool OnItemUse(cWorld * a_World, cPlayer * a_Player, cItem * a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Dir) override
+ virtual bool OnItemUse(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Dir) override
{
if (a_Dir < 0)
{
|