Code: Select all
ERROR[Main]: require() is disabled when mod security is on.
My goal is separate functionality into separate modules and do not expose too much into global scope.
In my case "get_modpath" is useless as it does not allow invoke local functions.
Code: Select all
dofile(minetest.get_modpath("modname") .. "/luaB.lua")