mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Refactor some Lua API functions in preparation for async env
This commit is contained in:
parent
e6385e2ab7
commit
56a558baf8
8 changed files with 37 additions and 45 deletions
|
@ -3658,11 +3658,6 @@ const ModSpec *Server::getModSpec(const std::string &modname) const
|
|||
return m_modmgr->getModSpec(modname);
|
||||
}
|
||||
|
||||
void Server::getModNames(std::vector<std::string> &modlist)
|
||||
{
|
||||
m_modmgr->getModNames(modlist);
|
||||
}
|
||||
|
||||
std::string Server::getBuiltinLuaPath()
|
||||
{
|
||||
return porting::path_share + DIR_DELIM + "builtin";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue