Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

Wrong in-game whisper's format

Open BartekSz95 opened this issue 1 year ago • 1 comments

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

Example in practice: obraz obraz

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);

BartekSz95 avatar Aug 04 '24 07:08 BartekSz95

Fix for this issue is on PR's page: https://github.com/TorchAPI/Essentials/pull/215

BartekSz95 avatar Aug 05 '24 10:08 BartekSz95