Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong in-game whisper's format #214

Open
BartekSz95 opened this issue Aug 4, 2024 · 1 comment
Open

Wrong in-game whisper's format #214

BartekSz95 opened this issue Aug 4, 2024 · 1 comment

Comments

@BartekSz95
Copy link

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
Copy link
Author

Fix for this issue is on PR's page: #215

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant