mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-17 02:15:22 +02:00
Add luacheck to check builtin (#7895)
This commit is contained in:
@@ -18,7 +18,7 @@ function core.register_privilege(name, param)
|
||||
def.description = "(no description)"
|
||||
end
|
||||
end
|
||||
local def = {}
|
||||
local def
|
||||
if type(param) == "table" then
|
||||
def = param
|
||||
else
|
||||
|
Reference in New Issue
Block a user