mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Load CSM environment after the restrictions are known
Safety-guards for CSM callbacks to abort on a bad implementation Only run callbacks when the mods are loaded (and with it: builtin) Duplication checks inside constructors
This commit is contained in:
parent
720aedb467
commit
23677be951
10 changed files with 64 additions and 55 deletions
|
@ -264,6 +264,7 @@ void ScriptApiSecurity::initializeSecurityClient()
|
|||
};
|
||||
static const char *debug_whitelist[] = {
|
||||
"getinfo",
|
||||
"traceback"
|
||||
};
|
||||
|
||||
#if USE_LUAJIT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue