Add minetest.get_modnames() to Lua API
This commit is contained in:
@@ -556,6 +556,7 @@ class Server : public con::PeerHandler, public MapEventReceiver,
|
||||
IWritableCraftDefManager* getWritableCraftDefManager();
|
||||
|
||||
const ModSpec* getModSpec(const std::string &modname);
|
||||
void getModNames(core::list<std::string> &modlist);
|
||||
std::string getBuiltinLuaPath();
|
||||
|
||||
std::string getWorldPath(){ return m_path_world; }
|
||||
|
||||
Reference in New Issue
Block a user