1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

CSM: Fix itemstack:get_meta() 'metadata' indexing error

This commit is contained in:
SmallJoker 2019-06-26 19:37:14 +02:00
parent 23677be951
commit b0baa698a4
2 changed files with 3 additions and 0 deletions

View file

@ -243,6 +243,7 @@ void ScriptApiSecurity::initializeSecurityClient()
"rawset",
"select",
"setfenv",
// getmetatable can be used to escape the sandbox
"setmetatable",
"tonumber",
"tostring",