Browse Source

test: undo this

tags/v0.12.0.16
Shaun 11 months ago
parent
commit
83ab998b7e
2 changed files with 4 additions and 1 deletions
  1. +4
    -0
      src/server/world/atlas.js
  2. +0
    -1
      src/server/world/instancer.js

+ 4
- 0
src/server/world/atlas.js View File

@@ -103,6 +103,10 @@ module.exports = {
if (callback)
callbackId = this.registerCallback(callback);

const simple = obj.getSimple(true);
if (!simple.name)
console.log(`Object has no name. Username: ${obj.auth?.username}`);

sendMessageToThread({
threadId: obj.zoneId,
msg: {


+ 0
- 1
src/server/world/instancer.js View File

@@ -339,7 +339,6 @@ module.exports = {
let obj = msg.obj;
obj = objects.find(o => o.serverId === obj.id);
if (!obj) {
console.log('No object found to remove', msg.obj.name);
//We should probably never reach this
return;
}


Loading…
Cancel
Save