Map.get returns undefined and not null on empty

0d1e96cc174a2ab063727fbb3734c309b78de57a

Honey Tree <kalakanlogs@proton.me>

1 files changed, +1 -1Showing whitespace changes
public/scripts/world-info.js+1 -1
@@ -313,7 +313,7 @@ class WorldInfoBuffer {
313313 /**
314314 * Get the externally activated version of the entry, if there is one.
315315 * @param {object} entry WI entry to check
316316 * @returns {object|nullundefined} the external version if the entry is forcefully activated, nullundefined otherwise
317317 */
318318 getExternallyActivated(entry) {
319319 // Entries could be copied with structuredClone, so we need to compare them by string representation