From 38326d3f857c4380d340e3642e6fb9135bacb365 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Mon, 1 Jan 2018 16:42:37 +0000 Subject: [PATCH] Still trying to fix --- ExpCore/commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExpCore/commands.lua b/ExpCore/commands.lua index 9e043028..64d29a70 100644 --- a/ExpCore/commands.lua +++ b/ExpCore/commands.lua @@ -104,7 +104,7 @@ local function run_custom_command(command) return end -- runs the command - local success, err = pcall(command_calls[command.name],event,args) + local success, err = pcall(command_calls[command.name],command,args) if not success then error(err) end player_return({'commands.command-ran'},defines.text_color.info) game.write_file('commands.log','\n'..game.tick