From 1f277147ca03788b784ee13fb1dd4e07889b4b59 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Tue, 30 Dec 2014 00:10:51 -0500 Subject: [PATCH] Fix Lua function --- worldedit/code.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit/code.lua b/worldedit/code.lua index dc58299..2959bf8 100644 --- a/worldedit/code.lua +++ b/worldedit/code.lua @@ -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