mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Fix trailing nils being dropped by deprecated minetest.env handler
This commit is contained in:
parent
09a50d0458
commit
392689e7ba
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ setmetatable(minetest.env, {
|
|||
local func = minetest[key]
|
||||
if type(func) == "function" then
|
||||
rawset(table, key, function(self, ...)
|
||||
return func(unpack({...}))
|
||||
return func(...)
|
||||
end)
|
||||
else
|
||||
rawset(table, key, nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue