[chore] Fix comments/logs
| @@ -316,7 +316,6 @@ class WorldInfoBuffer { | ||
| 316 | 316 | * @returns {object|undefined} the external version if the entry is forcefully activated, undefined otherwise |
| 317 | 317 | */ |
| 318 | 318 | getExternallyActivated(entry) { |
| 319 | - // Entries could be copied with structuredClone, so we need to compare them by string representation | |
| 320 | 319 | return WorldInfoBuffer.externalActivations.get(`${entry.world}.${entry.uid}`); |
| 321 | 320 | } |
| 322 | 321 | |
| @@ -870,7 +869,7 @@ export function setWorldInfoSettings(settings, data) { | ||
| 870 | 869 | eventSource.on(event_types.WORLDINFO_FORCE_ACTIVATE, (entries) => { |
| 871 | 870 | for (const entry of entries) { |
| 872 | 871 | if (!Object.hasOwn(entry, 'world') || !Object.hasOwn(entry, 'uid')) { |
| 873 | 872 | console.error('[WI] WORLDINFO_FORCE_ACTIVATE requires all entries to have both world and uid fields, entry IGNORED', entry); |
| 874 | 873 | } else { |
| 875 | 874 | WorldInfoBuffer.externalActivations.set(`${entry.world}.${entry.uid}`, entry); |
| 876 | 875 | } |