NpcSay display template name instead of none for custom NPCs.
This commit is contained in:
parent
c4842b7e9b
commit
df0d11d519
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user