summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemMilk.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-08 01:32:37 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:20 +0200
commit2185c72c2ca2d66b238d7d3234c173bd820d32ac (patch)
tree134bcd0c391bac1624a9adab5e8f9d6425fb9942 /src/Items/ItemMilk.h
parentImplemented milk, added documentation to Pawn.h (diff)
downloadcuberite-2185c72c2ca2d66b238d7d3234c173bd820d32ac.tar
cuberite-2185c72c2ca2d66b238d7d3234c173bd820d32ac.tar.gz
cuberite-2185c72c2ca2d66b238d7d3234c173bd820d32ac.tar.bz2
cuberite-2185c72c2ca2d66b238d7d3234c173bd820d32ac.tar.lz
cuberite-2185c72c2ca2d66b238d7d3234c173bd820d32ac.tar.xz
cuberite-2185c72c2ca2d66b238d7d3234c173bd820d32ac.tar.zst
cuberite-2185c72c2ca2d66b238d7d3234c173bd820d32ac.zip
Diffstat (limited to 'src/Items/ItemMilk.h')
-rw-r--r--src/Items/ItemMilk.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Items/ItemMilk.h b/src/Items/ItemMilk.h
index 8569c8cbe..62506a223 100644
--- a/src/Items/ItemMilk.h
+++ b/src/Items/ItemMilk.h
@@ -11,13 +11,15 @@ public:
{
}
- virtual bool IsDrinkable(void) override
+ virtual bool IsDrinkable(const cItem * a_Item) override
{
+ UNUSED(a_Item);
return true;
}
virtual bool EatItem(cPlayer * a_Player, cItem * a_Item) override
{
+ UNUSED(a_Item);
a_Player->ClearEntityEffects();
a_Player->GetInventory().RemoveOneEquippedItem();
a_Player->GetInventory().AddItem(E_ITEM_BUCKET);