From b5afac3470744ada378f7bea7270db2589f683fc Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Mon, 7 Aug 2017 15:01:37 +0100 Subject: [PATCH] Removed Useless bit of code that caused a crash --- locale/ExpGaming-Core/ExpGaming - Command Maker.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/locale/ExpGaming-Core/ExpGaming - Command Maker.lua b/locale/ExpGaming-Core/ExpGaming - Command Maker.lua index be1acd9c..13297e0d 100644 --- a/locale/ExpGaming-Core/ExpGaming - Command Maker.lua +++ b/locale/ExpGaming-Core/ExpGaming - Command Maker.lua @@ -30,7 +30,6 @@ function command_inputs_to_string(command) end --Can be used to ensure the right number of inputs are given function get_command_args(event,command) - local player = game.players[event.player_index] if not event.parameter then if #command[3] > 0 then return 'Invalid' else return end end local args = {} for word in event.parameter:gmatch('%S+') do table.insert(args,word) end