actually get some benefit from the consumed beer :P

This commit is contained in:
Vanessa Ezekowitz 2017-02-24 09:51:46 -05:00
parent 2c921c03cd
commit 8e6fa4cdff
1 changed files with 1 additions and 2 deletions

View File

@ -191,8 +191,7 @@ homedecor.register("beer_mug", {
z = pos.z + homedecor.fdir_to_fwd[fdir+1][2] }
minetest.add_item(pos_fwd, "vessels:drinking_glass 1")
end
minetest.item_eat(2)
itemstack:take_item()
minetest.do_item_eat(2, nil, itemstack, user, pointed_thing)
return itemstack
end
end