mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-26 10:20:19 +01:00
Add table.* to luacontroller sandbox
This commit is contained in:
parent
21550b3727
commit
36bcce57b0
@ -241,6 +241,12 @@ local create_environment = function(pos, mem, event)
|
|||||||
tan = math.tan,
|
tan = math.tan,
|
||||||
tanh = math.tanh,
|
tanh = math.tanh,
|
||||||
},
|
},
|
||||||
|
table = {
|
||||||
|
insert = table.insert,
|
||||||
|
maxn = table.maxn,
|
||||||
|
remove = table.remove,
|
||||||
|
sort = table.sort
|
||||||
|
},
|
||||||
event = event,
|
event = event,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user