mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
fix issue with multi line output freezing console
This commit is contained in:
@ -30,7 +30,8 @@ namespace IW4MAdmin.Application.Commands.ClientTags
|
||||
|
||||
if (tags is not null)
|
||||
{
|
||||
gameEvent.Origin.Tell(tags.Select(tag => tag.TagName));
|
||||
await gameEvent.Origin.TellAsync(tags.Select(tag => tag.TagName),
|
||||
gameEvent.Owner.Manager.CancellationToken);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -29,9 +29,9 @@ namespace IW4MAdmin.Application.Commands
|
||||
$"[(Color::Accent){client.ClientPermission.Name}(Color::White){(string.IsNullOrEmpty(client.Tag) ? "" : $" {client.Tag}")}(Color::White)][(Color::Yellow)#{client.ClientNumber}(Color::White)] {client.Name}")
|
||||
.ToArray();
|
||||
|
||||
gameEvent.Origin.Tell(clientList);
|
||||
gameEvent.Origin.TellAsync(clientList, gameEvent.Owner.Manager.CancellationToken);
|
||||
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user