From 37cc9d8ff44c362c2dd79d78c52f9ad5887f6f72 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 5 Feb 2014 09:29:25 +0000 Subject: [PATCH] Fixed small bug and disabled debug --- init.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index ce34120..c37772b 100644 --- a/init.lua +++ b/init.lua @@ -8,10 +8,10 @@ -- ===================================== food = { - supported={}, - atsup={}, - df={}, - debug=true + supported = {}, + atsup = {}, + df = {}, + debug = false } function food.support(group,mod,item) @@ -30,7 +30,7 @@ function food.support(group,mod,item) local data = minetest.registered_items[item] if not data then - print("item '",item.."' not found") + print("item '"..item.."' not found") return end @@ -154,6 +154,7 @@ food.asupport("potato",function() minetest.register_craftitem("food:potato", { description = "Potato", inventory_image = "food_potato.png", + groups = {food_potato = 1} }) minetest.register_craft({ output = "food:potato",