NpcSay display template name instead of none for custom NPCs.

This commit is contained in:
MobiusDev 2017-04-17 10:26:42 +00:00
parent c4842b7e9b
commit df0d11d519
2 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ public final class NpcSay implements IClientOutgoingPacket
{
_objectId = npc.getObjectId();
_textType = messageType;
_npcId = 1000000 + npc.getId();
_npcId = 1000000 + npc.getTemplate().getDisplayId();
_npcString = -1;
_text = text;
}
@ -73,7 +73,7 @@ public final class NpcSay implements IClientOutgoingPacket
{
_objectId = npc.getObjectId();
_textType = messageType;
_npcId = 1000000 + npc.getId();
_npcId = 1000000 + npc.getTemplate().getDisplayId();
_npcString = npcString.getId();
}

View File

@ -56,7 +56,7 @@ public final class NpcSay implements IClientOutgoingPacket
{
_objectId = npc.getObjectId();
_textType = messageType;
_npcId = 1000000 + npc.getId();
_npcId = 1000000 + npc.getTemplate().getDisplayId();
_npcString = -1;
_text = text;
}
@ -73,7 +73,7 @@ public final class NpcSay implements IClientOutgoingPacket
{
_objectId = npc.getObjectId();
_textType = messageType;
_npcId = 1000000 + npc.getId();
_npcId = 1000000 + npc.getTemplate().getDisplayId();
_npcString = npcString.getId();
}