Fixed custom NPC name display.
This commit is contained in:
parent
df1731008d
commit
75713de83f
@ -62,11 +62,6 @@ public class NpcInfo extends AbstractMaskPacket<NpcInfoType>
|
|||||||
_npc = npc;
|
_npc = npc;
|
||||||
_abnormalVisualEffects = npc.getCurrentAbnormalVisualEffects();
|
_abnormalVisualEffects = npc.getCurrentAbnormalVisualEffects();
|
||||||
|
|
||||||
if (npc.getTemplate().getDisplayId() != npc.getTemplate().getId())
|
|
||||||
{
|
|
||||||
_masks[2] |= 0x10;
|
|
||||||
}
|
|
||||||
|
|
||||||
addComponentType(NpcInfoType.ATTACKABLE, NpcInfoType.UNKNOWN1, NpcInfoType.ID, NpcInfoType.POSITION, NpcInfoType.ALIVE, NpcInfoType.RUNNING);
|
addComponentType(NpcInfoType.ATTACKABLE, NpcInfoType.UNKNOWN1, NpcInfoType.ID, NpcInfoType.POSITION, NpcInfoType.ALIVE, NpcInfoType.RUNNING);
|
||||||
|
|
||||||
if (npc.getHeading() > 0)
|
if (npc.getHeading() > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user