mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Use "core" namespace internally
This commit is contained in:
@@ -341,7 +341,7 @@ int ModApiServer::l_show_formspec(lua_State *L)
|
||||
int ModApiServer::l_get_current_modname(lua_State *L)
|
||||
{
|
||||
NO_MAP_LOCK_REQUIRED;
|
||||
lua_getfield(L, LUA_REGISTRYINDEX, "minetest_current_modname");
|
||||
lua_getfield(L, LUA_REGISTRYINDEX, "current_modname");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user