//convolve: fix wea.convolve returns false, then return the associated error message

This commit is contained in:
Starbeamrainbowlabs 2021-07-30 20:00:41 +01:00
parent 9ccd62845f
commit 47303acac1
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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