Check if carrots and corns are enabled in farming_redo
This commit is contained in:
parent
864f0bcf28
commit
e062fdb2d0
2
init.lua
2
init.lua
@ -3,7 +3,7 @@
|
|||||||
-- by sys4
|
-- 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 plus = minetest.get_modpath("farming_plus")
|
||||||
local diet_mod = minetest.get_modpath("diet")
|
local diet_mod = minetest.get_modpath("diet")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user