Removed Useless bit of code that caused a crash

This commit is contained in:
Cooldude2606 committed 2017-08-07 15:01:37 +01:00
1 parent 2d564dc166
commit b5afac3470
1 file changed
-1
@@ -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