Prevent eating most things at full hunger bar

This commit is contained in:
Wuzzy 2017-05-23 02:04:27 +02:00
parent eab0205c2f
commit c2c9a2f4a4
6 changed files with 19 additions and 14 deletions

View file

@ -149,7 +149,7 @@ minetest.register_craftitem("mcl_mobitems:milk_bucket", {
return minetest.do_item_eat(0, "bucket:bucket_empty", itemstack, player, pointed_thing)
end,
stack_max = 1,
groups = { food = 3 },
groups = { food = 3, can_eat_when_full = 1 },
})
minetest.register_craftitem("mcl_mobitems:spider_eye", {