Skip to content

Wrong in-game whisper's format #214

@BartekSz95

Description

@BartekSz95

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions