summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemMilk.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Items/ItemMilk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemMilk.h b/src/Items/ItemMilk.h
index 79c44509f..515c80493 100644
--- a/src/Items/ItemMilk.h
+++ b/src/Items/ItemMilk.h
@@ -29,7 +29,7 @@ public:
if (!a_Player->IsGameModeCreative())
{
a_Player->GetInventory().RemoveOneEquippedItem();
- a_Player->GetInventory().AddItem(E_ITEM_BUCKET);
+ a_Player->GetInventory().AddItem(cItem(E_ITEM_BUCKET));
}
return true;
}