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:
parent
d5594e431c
commit
56ba193c77
3 changed files with 12 additions and 3 deletions
|
@ -553,6 +553,7 @@ public:
|
|||
IWritableCraftDefManager* getWritableCraftDefManager();
|
||||
|
||||
const ModSpec* getModSpec(const std::string &modname);
|
||||
std::string getBuiltinLuaPath();
|
||||
|
||||
std::string getWorldPath(){ return m_path_world; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue