From af4a223f14e6484dad3cc138f1a6cb9589d3b984 Mon Sep 17 00:00:00 2001 From: Shaun Date: Tue, 23 May 2023 06:12:23 +0200 Subject: [PATCH] test: undo this --- src/server/world/atlas.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/world/atlas.js b/src/server/world/atlas.js index cd30efa7..50603e9b 100644 --- a/src/server/world/atlas.js +++ b/src/server/world/atlas.js @@ -104,8 +104,8 @@ module.exports = { callbackId = this.registerCallback(callback); const simple = obj.getSimple(true); - if (!simple.name) - console.log(`Object has no name. Username: ${obj.auth?.username}`); + if (!simple.name) + console.log(`Object has no name: ${JSON.stringify(simple, null, '\t')}`); sendMessageToThread({ threadId: obj.zoneId,