Still trying to fix

This commit is contained in:
Cooldude2606
2018-01-01 16:42:37 +00:00
parent 7e873b1aff
commit 38326d3f85

View File

@@ -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