mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-27 11:25:24 +01:00
Add minetest.get_worldpath() for getting location for custom data
This commit is contained in:
@@ -525,6 +525,8 @@ public:
|
||||
IWritableCraftDefManager* getWritableCraftDefManager();
|
||||
|
||||
const ModSpec* getModSpec(const std::string &modname);
|
||||
|
||||
std::string getWorldPath(){ return m_mapsavedir; }
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user