From e062fdb2d0865f43b77e86253adedaaf88e3182e Mon Sep 17 00:00:00 2001 From: sys4 Date: Sun, 14 Jun 2020 15:53:34 +0200 Subject: [PATCH] Check if carrots and corns are enabled in farming_redo --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 20da266..b8f2417 100644 --- a/init.lua +++ b/init.lua @@ -3,7 +3,7 @@ -- by sys4 -------------------------------------------------------------------------------- -local redo = farming.mod and farming.mod == "redo" +local redo = farming.mod and farming.mod == "redo" and farming.carrot and farming.corn local plus = minetest.get_modpath("farming_plus") local diet_mod = minetest.get_modpath("diet")