1
0
mirror of https://github.com/rubenwardy/food.git synced 2024-07-01 04:40:21 +02:00

Update support.lua

fix bug when farming is not installed
This commit is contained in:
cornernote 2012-09-20 13:51:55 +09:30
parent b336aaa2b4
commit 6ec126af60

View File

@ -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),