mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-12-25 02:00:39 +01:00
Fix Lua function
This commit is contained in:
parent
04fdf92aca
commit
1f277147ca
@ -26,7 +26,7 @@ worldedit.lua = function(code)
|
||||
if not func then -- Syntax error
|
||||
return err
|
||||
end
|
||||
local good, err = pcall(operation)
|
||||
local good, err = pcall(func)
|
||||
if not good then -- Runtime error
|
||||
return err
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user