1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

tweaks to stats and fixed the alias command, made the logger thread safe.. whoops

This commit is contained in:
RaidMax
2017-06-01 12:42:28 -05:00
parent 063449d9c4
commit 04df8d5408
12 changed files with 99 additions and 63 deletions

View File

@ -219,7 +219,7 @@ namespace SharedLibrary
public async Task Broadcast(String Message)
{
#if DEBUG
return;
// return;
#endif
await this.ExecuteCommandAsync($"sayraw {Message}");
}
@ -232,8 +232,8 @@ namespace SharedLibrary
public async Task Tell(String Message, Player Target)
{
#if DEBUG
if (!Target.lastEvent.Remote)
return;
//if (!Target.lastEvent.Remote)
// return;
#endif
if (Target.ClientID > -1 && Message.Length > 0 && Target.Level != Player.Permission.Console && !Target.lastEvent.Remote)
await this.ExecuteCommandAsync($"tellraw {Target.ClientID} {Message}^7");