mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix trailing nils being dropped by deprecated minetest.env handler
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user