| 870 | eventSource.on(event_types.WORLDINFO_FORCE_ACTIVATE, (entries) => { | 869 | eventSource.on(event_types.WORLDINFO_FORCE_ACTIVATE, (entries) => { |
| 871 | for (const entry of entries) { | 870 | for (const entry of entries) { |
| 872 | if (!Object.hasOwn(entry, 'world') || !Object.hasOwn(entry, 'uid')) { | 871 | if (!Object.hasOwn(entry, 'world') || !Object.hasOwn(entry, 'uid')) { |
| 873 | console.error('WORLDINFO_FORCE_ACTIVATE requires all entries to have both world and uid fields, entry IGNORED'); | 872 | console.error('[WI] WORLDINFO_FORCE_ACTIVATE requires all entries to have both world and uid fields, entry IGNORED', entry); |
| 874 | } else { | 873 | } else { |
| 875 | WorldInfoBuffer.externalActivations.set(`${entry.world}.${entry.uid}`, entry); | 874 | WorldInfoBuffer.externalActivations.set(`${entry.world}.${entry.uid}`, entry); |
| 876 | } | 875 | } |