mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02: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