1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-16 07:10:35 +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] } z = pos.z + homedecor.fdir_to_fwd[fdir+1][2] }
minetest.add_item(pos_fwd, "vessels:drinking_glass 1") minetest.add_item(pos_fwd, "vessels:drinking_glass 1")
end end
minetest.item_eat(2) minetest.do_item_eat(2, nil, itemstack, user, pointed_thing)
itemstack:take_item()
return itemstack return itemstack
end end
end end