Skip to content

Commit

Permalink
Fix Lua function
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowNinja committed Dec 30, 2014
1 parent 04fdf92 commit 1f27714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worldedit/code.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f27714

Please sign in to comment.