//convolve: fix luacheck issue

This commit is contained in:
Starbeamrainbowlabs 2021-07-30 19:58:23 +01:00
parent 8c76b3b760
commit ee561cd6e4
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 3 additions and 1 deletions

View file

@ -9,6 +9,7 @@ exclude_files = {
ignore = { ignore = {
"631", "61[124]", "631", "61[124]",
"542",
"412", "412",
"321/bit", "321/bit",
"21[123]" "21[123]"

View file

@ -58,7 +58,8 @@ worldedit.register_command("convolve", {
kernel_size[0] = kernel_height kernel_size[0] = kernel_height
kernel_size[1] = kernel_width kernel_size[1] = kernel_width
local success, stats = worldeditadditions.convolve( local stats
success, stats = worldeditadditions.convolve(
worldedit.pos1[name], worldedit.pos2[name], worldedit.pos1[name], worldedit.pos2[name],
kernel, kernel_size kernel, kernel_size
) )