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",