Improving walking NPC broadcast fix.
This commit is contained in:
parent
da2b9c6499
commit
74758c62e9
@ -55,8 +55,8 @@ public class NpcKnownList extends CharKnownList
|
||||
{
|
||||
final L2Npc npc = (L2Npc) getActiveObject();
|
||||
|
||||
// Npc Walkers broadcast position fix.
|
||||
if (object.isPlayer() && npc.isMoving())
|
||||
// Broadcast correct walking NPC position.
|
||||
if (object.isPlayer() && npc.isMoving() && !npc.isInCombat())
|
||||
{
|
||||
((L2Character) object).broadcastPacket(new MoveToLocation(npc));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user