You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my opinion, should be: Context.Torch.CurrentSession?.Managers?.GetManager<IChatManagerServer>()?.SendMessageAsOther(Context.Player?.DisplayName ?? "Server", message, MyFontEnum.Red, player.SteamUserId);
The text was updated successfully, but these errors were encountered:
Hi.
Little wrong in-game format of whispers created by
!w
command, eg.!w "player name" message
.Example in practice:
![obraz](https://private-user-images.githubusercontent.com/79801491/354884518-0e76650b-8737-4427-b75c-0b15a0cb4736.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MDUzOTcsIm5iZiI6MTczODkwNTA5NywicGF0aCI6Ii83OTgwMTQ5MS8zNTQ4ODQ1MTgtMGU3NjY1MGItODczNy00NDI3LWI3NWMtMGIxNWEwY2I0NzM2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDA1MTEzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ1ZmM4ZTk4NDliY2NlZTQ4NjY1M2M1NTM5MWM5NDA1OGE1NjRlZjJjN2IwZjc2NWUwMTczYjY5M2EwZDk4ZDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.F28LOHLcvyBaz3nLRh9fNB2VQBC0MmkD32F4BNPQM4A)
![obraz](https://private-user-images.githubusercontent.com/79801491/354884538-586b63f2-28fa-4249-8ece-ef2176cd3ca6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MDUzOTcsIm5iZiI6MTczODkwNTA5NywicGF0aCI6Ii83OTgwMTQ5MS8zNTQ4ODQ1MzgtNTg2YjYzZjItMjhmYS00MjQ5LThlY2UtZWYyMTc2Y2QzY2E2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDA1MTEzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ3MWZiMjEzMzNjNGM5OWI4NDkxN2NmZWJjZTc5ZjFkYWE3Y2EyMWIyNTExNjcyMTYyM2I0MWRjZjRmZjU1MzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.VQDo5Hqo4HcweCgiDug-kmv9MELudlHVBjPBJ9rbmZk)
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);
The text was updated successfully, but these errors were encountered: