Add world-independent storage directory for mods (#12315)

Fixes #4821
This commit is contained in:
rubenwardy
2024-03-24 17:18:58 +00:00
committed by GitHub
parent b42b03bc40
commit 6c4a110679
8 changed files with 44 additions and 0 deletions

View File

@@ -39,6 +39,9 @@ class ModApiServer : public ModApiBase
// get_worldpath()
static int l_get_worldpath(lua_State *L);
// get_mod_data_path()
static int l_get_mod_data_path(lua_State *L);
// is_singleplayer()
static int l_is_singleplayer(lua_State *L);