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