Hi.
Little wrong in-game format of whispers created by !w command, eg. !w "player name" message.
Example in practice:


I saw that in this file in line 102:
https://github.com/TorchAPI/Essentials/blob/master/Essentials/Commands/PlayerModule.cs
message variable and display name things are in wrong place in function.
In my opinion, should be:
Context.Torch.CurrentSession?.Managers?.GetManager<IChatManagerServer>()?.SendMessageAsOther(Context.Player?.DisplayName ?? "Server", message, MyFontEnum.Red, player.SteamUserId);
Hi.
Little wrong in-game format of whispers created by
!wcommand, eg.!w "player name" message.Example in practice:


I saw that in this file in line 102:
https://github.com/TorchAPI/Essentials/blob/master/Essentials/Commands/PlayerModule.cs
message variable and display name things are in wrong place in function.
In my opinion, should be:
Context.Torch.CurrentSession?.Managers?.GetManager<IChatManagerServer>()?.SendMessageAsOther(Context.Player?.DisplayName ?? "Server", message, MyFontEnum.Red, player.SteamUserId);