Commit cac6a518 authored by Milan's avatar Milan
Browse files

only register banana stuff when no ethereal mod detected

parent 3d19dd76
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -782,7 +782,9 @@ end
-- load crops

dofile(farming.path.."/soil.lua")
if not minetest.get_modpath("ethereal") then
    dofile(farming.path.."/banana.lua")
end
dofile(farming.path.."/hoes.lua")
dofile(farming.path.."/grass.lua")
dofile(farming.path.."/wheat.lua")