mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-09-12 08:08:30 +02:00
//airapply: fix undefined variables
This commit is contained in:
parent
47303acac1
commit
1c8d572bb8
@ -43,7 +43,7 @@ worldedit.register_command("airapply", {
|
||||
end,
|
||||
func = function(name, cmd, args_parsed)
|
||||
if not minetest.check_player_privs(name, cmd.privs) then
|
||||
return false, "Your privileges are insufficient to execute the command '"..cmd_name.."'."
|
||||
return false, "Your privileges are insufficient to execute the command '"..cmd.."'."
|
||||
end
|
||||
|
||||
local pos1, pos2 = worldeditadditions.Vector3.sort(
|
||||
@ -56,7 +56,7 @@ worldedit.register_command("airapply", {
|
||||
pos1, pos2,
|
||||
function()
|
||||
cmd.func(name, worldeditadditions.table.unpack(args_parsed))
|
||||
end, args
|
||||
end, args_parsed
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user