diff options
author | rubenwardy <anjayward@gmail.com> | 2014-02-05 09:29:25 +0000 |
---|---|---|
committer | rubenwardy <anjayward@gmail.com> | 2014-02-05 09:29:25 +0000 |
commit | 37cc9d8ff44c362c2dd79d78c52f9ad5887f6f72 (patch) | |
tree | 674717b48f53342c32bd29cde983f909ccc70ee4 | |
parent | 99e837691a3bc5e4f165c498e8ece56e72f3ccf1 (diff) |
Fixed small bug and disabled debug
-rw-r--r-- | init.lua | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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", |