mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-17 07:02:53 -04:00
Fixed waypoint not being destroyed for quests
This commit is contained in:
@@ -665,7 +665,8 @@ public class ObjectService implements INetworkDispatch {
|
||||
parent.remove(object);
|
||||
object.setParentId(parentId);
|
||||
} else {
|
||||
core.simulationService.remove(object, object.getWorldPosition().x, object.getWorldPosition().z, true);
|
||||
if (!(object instanceof WaypointObject))
|
||||
core.simulationService.remove(object, object.getWorldPosition().x, object.getWorldPosition().z, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked") Vector<SWGObject> childObjects = (Vector<SWGObject>) object.getAttachment("childObjects");
|
||||
if(childObjects != null)
|
||||
|
||||
Reference in New Issue
Block a user