only register banana stuff when no ethereal mod detected

master
tchncs 2016-11-06 20:15:51 +01:00
parent 3d19dd76a0
commit cac6a518ca
1 changed files with 3 additions and 1 deletions

View File

@ -782,7 +782,9 @@ end
-- load crops
dofile(farming.path.."/soil.lua")
dofile(farming.path.."/banana.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")