Fixed Kartia monsters not moving.
This commit is contained in:
@@ -312,6 +312,8 @@ public final class KartiasLabyrinth extends AbstractInstance
|
|||||||
if (npc != null)
|
if (npc != null)
|
||||||
{
|
{
|
||||||
npc.setTargetable(true);
|
npc.setTargetable(true);
|
||||||
|
final L2PcInstance randomPlayer = instance.getPlayers().stream().findAny().get();
|
||||||
|
npc.moveToLocation(randomPlayer.getX(), randomPlayer.getY(), randomPlayer.getZ(), 10);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@@ -312,6 +312,8 @@ public final class KartiasLabyrinth extends AbstractInstance
|
|||||||
if (npc != null)
|
if (npc != null)
|
||||||
{
|
{
|
||||||
npc.setTargetable(true);
|
npc.setTargetable(true);
|
||||||
|
final L2PcInstance randomPlayer = instance.getPlayers().stream().findAny().get();
|
||||||
|
npc.moveToLocation(randomPlayer.getX(), randomPlayer.getY(), randomPlayer.getZ(), 10);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@@ -312,6 +312,8 @@ public final class KartiasLabyrinth extends AbstractInstance
|
|||||||
if (npc != null)
|
if (npc != null)
|
||||||
{
|
{
|
||||||
npc.setTargetable(true);
|
npc.setTargetable(true);
|
||||||
|
final L2PcInstance randomPlayer = instance.getPlayers().stream().findAny().get();
|
||||||
|
npc.moveToLocation(randomPlayer.getX(), randomPlayer.getY(), randomPlayer.getZ(), 10);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user