Sometimes, talking to an npc crashes the server
/app/components/dialogue.js:29 target = this.obj.instance.objects.objects.find(o => o.name.toLowerCase() == targetName); ^ TypeError: Cannot read property 'toLowerCase' of undefined at target.obj.instance.objects.objects.find.o (/app/components/dialogue.js:29:64) at Array.find (native) at Object.talk (/app/components/dialogue.js:29:48) at Object.callAction (/app/components/notice.js:40:24) at Object.collisionEnter (/app/components/notice.js:47:9) at Object.collisionEnter (/app/objects/objBase.js:275:12) at Object.addObject (/app/world/physics.js:71:12) at Object.addObject (/app/objects/objects.js:195:17) at Object.addObject (/app/world/instancer.js:140:14) at process.on (/app/world/worker.js:41:22)
Not all objects (be it a mob or otherwise) have names. The server shouldn't crash as a result.