Fixing npc using displayId.
This commit is contained in:
parent
3ae2479692
commit
36a8603438
@ -260,7 +260,7 @@ public class NpcInfo extends AbstractMaskPacket<NpcInfoType>
|
||||
writeH(_blockSize);
|
||||
if (containsMask(NpcInfoType.ID))
|
||||
{
|
||||
writeD(_npc.getId() + 1000000);
|
||||
writeD(_npc.getTemplate().getDisplayId() + 1000000);
|
||||
}
|
||||
if (containsMask(NpcInfoType.POSITION))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user