mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-13 22:01:04 -04:00
Fixed issue where creature could not run to object because it wasn't a creature.
This commit is contained in:
@@ -88,8 +88,10 @@ public class sequencer extends script.base_script
|
||||
}
|
||||
public static void runToSequenceObject(obj_id objNPC, obj_id objSeq) throws InterruptedException
|
||||
{
|
||||
setMovementRun(objNPC);
|
||||
pathTo(objNPC, getLocation(objSeq));
|
||||
if(isNpcCreature(objNPC)) {
|
||||
setMovementRun(objNPC);
|
||||
pathTo(objNPC, getLocation(objSeq));
|
||||
}
|
||||
}
|
||||
public static void runToSequenceObject(obj_id objNPC, String strObject) throws InterruptedException
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user