Update support.lua
Fix bugs that stop food working when farming is not installed
This commit is contained in:
parent
cf08ef6f11
commit
96e74e825e
@ -40,7 +40,7 @@ minetest.register_craftitem("food:strawberry", {
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
node_implement("farming","farming:carrot_item","food:carrot",function()
|
node_implement("farming","farming:carrot_item","food:carrot",function()
|
||||||
minetest.register_craftitem("farming:carrot_item", {
|
minetest.register_craftitem("food:carrot", {
|
||||||
description = "Carrot",
|
description = "Carrot",
|
||||||
inventory_image = "farming_carrot.png",
|
inventory_image = "farming_carrot.png",
|
||||||
on_use = minetest.item_eat(3),
|
on_use = minetest.item_eat(3),
|
||||||
|
Loading…
Reference in New Issue
Block a user