Fixed Spelling

This commit is contained in:
Cooldude2606
2018-04-18 19:10:52 +01:00
parent 428fb707cf
commit 0d9583fde7

View File

@@ -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 and player_name ~= 'sevrer' then player_return({'commands.command-ran'},defines.text_color.info) end
if err ~= commands.error and player_name ~= 'server' then player_return({'commands.command-ran'},defines.text_color.info) end
game.write_file('commands.log',
game.tick
..' Player: "'..player_name..'"'