From ee561cd6e4aee057185fda9c38bcb75a33eb1dd3 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 30 Jul 2021 19:58:23 +0100 Subject: [PATCH] //convolve: fix luacheck issue --- .tests/luacheckrc | 1 + worldeditadditions_commands/commands/convolve.lua | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.tests/luacheckrc b/.tests/luacheckrc index 7c036ae..c3a1473 100644 --- a/.tests/luacheckrc +++ b/.tests/luacheckrc @@ -9,6 +9,7 @@ exclude_files = { ignore = { "631", "61[124]", + "542", "412", "321/bit", "21[123]" diff --git a/worldeditadditions_commands/commands/convolve.lua b/worldeditadditions_commands/commands/convolve.lua index da12810..22ddf79 100644 --- a/worldeditadditions_commands/commands/convolve.lua +++ b/worldeditadditions_commands/commands/convolve.lua @@ -58,7 +58,8 @@ worldedit.register_command("convolve", { kernel_size[0] = kernel_height kernel_size[1] = kernel_width - local success, stats = worldeditadditions.convolve( + local stats + success, stats = worldeditadditions.convolve( worldedit.pos1[name], worldedit.pos2[name], kernel, kernel_size )