This commit is contained in:
luk3yx 2019-10-15 13:02:07 +13:00
parent acecf727e2
commit d45b4e8b1b
2 changed files with 10 additions and 0 deletions

View File

@ -60,6 +60,11 @@ do
end)
end
local deserialize = minetest.deserialize
safe_funcs[deserialize] = function(str)
return deserialize(str, true)
end
local wrap = function(n)
local orig = minetest[n] or minetest[n .. 's']
if type(orig) == 'function' then

View File

@ -68,6 +68,11 @@ do
end)
end
local deserialize = minetest.deserialize
safe_funcs[deserialize] = function(str)
return deserialize(str, true)
end
local wrap = function(n)
local orig = minetest[n] or minetest[n .. 's']
if type(orig) == 'function' then