summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.h
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-21 16:38:37 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-21 16:38:37 +0100
commit9f41761e8ea1eff8980af4dceb7137471538298b (patch)
tree55c3e70d3a1c2582483f490921a5153c49a260cc /src/Items/ItemHandler.h
parentPiston is now warnings clean (diff)
downloadcuberite-9f41761e8ea1eff8980af4dceb7137471538298b.tar
cuberite-9f41761e8ea1eff8980af4dceb7137471538298b.tar.gz
cuberite-9f41761e8ea1eff8980af4dceb7137471538298b.tar.bz2
cuberite-9f41761e8ea1eff8980af4dceb7137471538298b.tar.lz
cuberite-9f41761e8ea1eff8980af4dceb7137471538298b.tar.xz
cuberite-9f41761e8ea1eff8980af4dceb7137471538298b.tar.zst
cuberite-9f41761e8ea1eff8980af4dceb7137471538298b.zip
Diffstat (limited to 'src/Items/ItemHandler.h')
-rw-r--r--src/Items/ItemHandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemHandler.h b/src/Items/ItemHandler.h
index e39bb054b..cee3fb73b 100644
--- a/src/Items/ItemHandler.h
+++ b/src/Items/ItemHandler.h
@@ -25,7 +25,7 @@ public:
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);
/// Called when the client sends the SHOOT status in the lclk packet
- virtual void OnItemShoot(cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace) {}
+ virtual void OnItemShoot(cPlayer *, int /*a_BlockX*/, int /*a_BlockY*/, int /*a_BlockZ*/, char /*a_BlockFace*/) {}
/// Called while the player diggs a block using this item
virtual bool OnDiggingBlock(cWorld * a_World, cPlayer * a_Player, const cItem & a_HeldItem, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace);