[chore] Fix comments/logs

b65da795ef0d75d5841b2dbfaf24fd8f07988ba6

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -2Showing whitespace changes
public/scripts/world-info.js+1 -2
@@ -316,7 +316,6 @@ class WorldInfoBuffer {
316316 * @returns {object|undefined} the external version if the entry is forcefully activated, undefined otherwise
317317 */
318318 getExternallyActivated(entry) {
319- // Entries could be copied with structuredClone, so we need to compare them by string representation
320319 return WorldInfoBuffer.externalActivations.get(`${entry.world}.${entry.uid}`);
321320 }
322321
@@ -870,7 +869,7 @@ export function setWorldInfoSettings(settings, data) {
870869 eventSource.on(event_types.WORLDINFO_FORCE_ACTIVATE, (entries) => {
871870 for (const entry of entries) {
872871 if (!Object.hasOwn(entry, 'world') || !Object.hasOwn(entry, 'uid')) {
873872 console.error('[WI] WORLDINFO_FORCE_ACTIVATE requires all entries to have both world and uid fields, entry IGNORED', entry);
874873 } else {
875874 WorldInfoBuffer.externalActivations.set(`${entry.world}.${entry.uid}`, entry);
876875 }