diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js index 93f13a57e..db8b1d29b 100644 --- a/public/scripts/world-info.js +++ b/public/scripts/world-info.js @@ -334,9 +334,9 @@ class WorldInfoBuffer { class WorldInfoTimedEvents { /** - * @type {Map} Cache for entry hashes + * @type {WeakMap} Cache for entry hashes */ - static #entryHashCache = new Map(); + static #entryHashCache = new WeakMap(); /** * @type {string[]} Array of chat messages