1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Allow getting the path of builtin.lua using minetest.get_modpath("__builtin")

This commit is contained in:
Perttu Ahola 2012-04-01 10:08:52 +03:00
parent d5594e431c
commit 56ba193c77
3 changed files with 12 additions and 3 deletions

View file

@ -553,6 +553,7 @@ public:
IWritableCraftDefManager* getWritableCraftDefManager();
const ModSpec* getModSpec(const std::string &modname);
std::string getBuiltinLuaPath();
std::string getWorldPath(){ return m_path_world; }