diff --git a/lib/classes/ObjectStoreFull.ts b/lib/classes/ObjectStoreFull.ts index 258f7ca..55f4cb0 100644 --- a/lib/classes/ObjectStoreFull.ts +++ b/lib/classes/ObjectStoreFull.ts @@ -142,7 +142,7 @@ export class ObjectStoreFull extends ObjectStoreLite implements IObjectStore if (parent !== this.agent.localID) { let foundAvatars = false; - for(const objID of this.objectsByParent[parent]) + for (const objID of this.objectsByParent[parent]) { if (this.objects[objID]) { @@ -198,7 +198,11 @@ export class ObjectStoreFull extends ObjectStoreLite implements IObjectStore this.insertIntoRtree(obj); if (objData.ParentID !== undefined && objData.ParentID !== 0 && !this.objects[objData.ParentID]) { - this.requestMissingObject(objData.ParentID).then(() => {}).catch(() => {}); + this.requestMissingObject(objData.ParentID).then(() => + { + }).catch(() => + { + }); } this.notifyObjectUpdate(newObject, obj); obj.onTextureUpdate.next(); diff --git a/lib/classes/commands/RegionCommands.ts b/lib/classes/commands/RegionCommands.ts index bd8c42f..6147460 100644 --- a/lib/classes/commands/RegionCommands.ts +++ b/lib/classes/commands/RegionCommands.ts @@ -632,7 +632,8 @@ export class RegionCommands extends CommandsBase try { Logger.Info('Setting texture entry'); - await object.setTextureEntry(obj.TextureEntry).then(() => {}).catch((err) => { + await object.setTextureEntry(obj.TextureEntry).then(() => {}).catch((err) => + { console.error(err); }); }