mirror of
https://github.com/rubenwardy/food.git
synced 2025-01-09 08:00:17 +01:00
Update support.lua
fix bug when farming is not installed
This commit is contained in:
parent
b336aaa2b4
commit
6ec126af60
@ -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_item", {
|
||||||
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