Update support.lua

Fix bugs that stop food working when farming is not installed
This commit is contained in:
Andrew Ward 2012-09-21 13:31:45 +02:00
parent cf08ef6f11
commit 96e74e825e

View File

@ -40,7 +40,7 @@ minetest.register_craftitem("food:strawberry", {
end)
node_implement("farming","farming:carrot_item","food:carrot",function()
minetest.register_craftitem("farming:carrot_item", {
minetest.register_craftitem("food:carrot", {
description = "Carrot",
inventory_image = "farming_carrot.png",
on_use = minetest.item_eat(3),