This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
gitlord
/
isleward
mirror of
https://gitlab.com/Isleward/isleward.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
203
Wiki
Activity
Browse Source
test: undo this
tags/v0.12.0.16
Shaun
11 months ago
parent
6803fa0a10
commit
83ab998b7e
2 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
src/server/world/atlas.js
+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;
}
Write
Preview
Loading…
Cancel
Save