From 7cad265d2cb1d4f823c66f96a5ec9ec7f99255a6 Mon Sep 17 00:00:00 2001 From: MrIbby Date: Wed, 1 Jun 2016 11:12:23 -0700 Subject: [PATCH] Add food mod as to depends --- depends.txt | 1 + init.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/depends.txt b/depends.txt index 5852424..4214628 100644 --- a/depends.txt +++ b/depends.txt @@ -1,3 +1,4 @@ bucket farming +food? intllib? diff --git a/init.lua b/init.lua index 941a92e..8b15860 100644 --- a/init.lua +++ b/init.lua @@ -58,7 +58,7 @@ for i, size in ipairs(sizes) do }) end -if minetest.get_modpath("food") == nil then +if not minetest.get_modpath("food") then minetest.register_craftitem("cake:sugar", { description = S("Sugar"), inventory_image = "cake_sugar.png",