1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 00:20:17 +01:00

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

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