mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 09:03:01 +00:00
//convolve: fix wea.convolve returns false, then return the associated error message
This commit is contained in:
parent
9ccd62845f
commit
47303acac1
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ worldedit.register_command("convolve", {
|
||||||
worldedit.pos1[name], worldedit.pos2[name],
|
worldedit.pos1[name], worldedit.pos2[name],
|
||||||
kernel, kernel_size
|
kernel, kernel_size
|
||||||
)
|
)
|
||||||
|
if not success then return success, stats end
|
||||||
|
|
||||||
local time_taken = worldeditadditions.get_ms_time() - start_time
|
local time_taken = worldeditadditions.get_ms_time() - start_time
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue