Skip to content
Snippets Groups Projects
Commit a55d0628 authored by Nos's avatar Nos
Browse files

BETA: DP-Part for [L6381]

parent 671988c5
No related branches found
No related tags found
No related merge requests found
......@@ -484,7 +484,7 @@ public final class Valakas extends AbstractNpcAI
int posX = x + getRandom(-1400, 1400);
int posY = y + getRandom(-1400, 1400);
if (GeoData.getInstance().canMoveFromToTarget(x, y, z, posX, posY, z, npc.getInstanceId()))
if (GeoData.getInstance().canMove(x, y, z, posX, posY, z, npc.getInstanceId()))
{
npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new Location(posX, posY, z, 0));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment