|
@@ -50,6 +50,7 @@ import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
|
|
import com.l2jserver.gameserver.model.actor.templates.L2NpcTemplate;
|
|
|
import com.l2jserver.gameserver.model.effects.L2Effect;
|
|
|
import com.l2jserver.gameserver.model.effects.L2EffectType;
|
|
|
+import com.l2jserver.gameserver.model.interfaces.ILocational;
|
|
|
import com.l2jserver.gameserver.model.items.L2Weapon;
|
|
|
import com.l2jserver.gameserver.model.items.instance.L2ItemInstance;
|
|
|
import com.l2jserver.gameserver.model.items.type.L2WeaponType;
|
|
@@ -60,7 +61,6 @@ import com.l2jserver.gameserver.network.SystemMessageId;
|
|
|
import com.l2jserver.gameserver.network.serverpackets.ActionFailed;
|
|
|
import com.l2jserver.gameserver.network.serverpackets.AutoAttackStop;
|
|
|
import com.l2jserver.gameserver.taskmanager.AttackStanceTaskManager;
|
|
|
-import com.l2jserver.gameserver.util.Point3D;
|
|
|
import com.l2jserver.util.Rnd;
|
|
|
|
|
|
/**
|
|
@@ -964,7 +964,7 @@ public class L2CharacterAI extends AbstractAI
|
|
|
// do nothing
|
|
|
}
|
|
|
|
|
|
- protected boolean maybeMoveToPosition(Point3D worldPosition, int offset)
|
|
|
+ protected boolean maybeMoveToPosition(ILocational worldPosition, int offset)
|
|
|
{
|
|
|
if (worldPosition == null)
|
|
|
{
|