Set sender name for CreatureSay method using NpcStringId.

This commit is contained in:
MobiusDevelopment
2021-11-14 13:04:00 +00:00
parent 4039b519f2
commit 8779759ad6
23 changed files with 92 additions and 0 deletions

View File

@ -92,6 +92,10 @@ public class CreatureSay implements IClientOutgoingPacket
_sender = sender;
_chatType = chatType;
_messageId = npcStringId.getId();
if (sender != null)
{
_senderName = sender.getName();
}
}
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)