From 428fb707cf858c858605dbfa97b6751d7aa151ea Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Wed, 18 Apr 2018 19:10:39 +0100 Subject: [PATCH] No Command Complete To Server --- ExpCore/commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExpCore/commands.lua b/ExpCore/commands.lua index 137ebc83..4d628170 100644 --- a/ExpCore/commands.lua +++ b/ExpCore/commands.lua @@ -110,7 +110,7 @@ local function run_custom_command(command) -- runs the command local success, err = pcall(command_calls[command.name],command,args) if not success then error(err) end - if err ~= commands.error then player_return({'commands.command-ran'},defines.text_color.info) end + if err ~= commands.error and player_name ~= 'sevrer' then player_return({'commands.command-ran'},defines.text_color.info) end game.write_file('commands.log', game.tick ..' Player: "'..player_name..'"'