Merge branch 'core'

This commit is contained in:
Cooldude2606
2018-04-05 20:35:47 +01:00

View File

@@ -57,7 +57,7 @@ function Sync.emit_embeded(args)
local color = is_type(args.color,'string') and args.color:find("0x") and args.color or '0x0'
local description = is_type(args.description,'string') and args.description or ''
local server_detail = is_type(args.server_detail,'string') and args.server_detail or ''
local mods_online = 'Mods Online: '..Sync.info().admins
local mods_online = 'Mods Online: '..Sync.info().players.admins_online
local done, fields = {title=true,color=true,description=true,server_detail=true}, {{
name='Server Details',
value='Server Name: {{ serverName }} Online Players: '..#game.connected_players..' '..mods_online..' Server Time: '..tick_to_display_format(game.tick)..' '..server_detail