mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-25 16:43:05 +00:00
//convolve: fix luacheck issue
This commit is contained in:
parent
8c76b3b760
commit
ee561cd6e4
2 changed files with 3 additions and 1 deletions
|
@ -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]"
|
||||||
|
|
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue