Check if carrots and corns are enabled in farming_redo

This commit is contained in:
Sys Quatre 2020-06-14 15:53:34 +02:00
parent 864f0bcf28
commit e062fdb2d0
1 changed files with 1 additions and 1 deletions

View File

@ -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")