Browse Source

undo: test code

tags/v0.10.6^2
Shaun 2 years ago
parent
commit
ef51733510
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      src/server/objects/objects.js

+ 8
- 1
src/server/objects/objects.js View File

@@ -251,8 +251,15 @@ module.exports = {
if (!storeEntry) {
const playerObj = objects.find(o => o.id === toId);

if (!playerObj || playerObj.zoneName !== sourceZone)
if (!playerObj || playerObj.zoneName !== sourceZone) {
io.setAsync({
key: new Date(),
table: 'error',
value: `ignoring ${e}`
});

continue;
}

store[toId] = {
obj: playerObj,


Loading…
Cancel
Save