@dcl/playground-assets 7.1.4-4512634654.commit-0e8d9c4 → 7.1.4-4542949081.commit-c326cfb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -14232,6 +14232,9 @@
|
|
|
14232
14232
|
? removedEntities.getMap().get(entityNumber) + 1
|
|
14233
14233
|
: 0;
|
|
14234
14234
|
const entity = exports.EntityUtils.toEntityId(entityNumber, entityVersion);
|
|
14235
|
+
if (usedEntities.has(entity)) {
|
|
14236
|
+
return generateNewEntity();
|
|
14237
|
+
}
|
|
14235
14238
|
usedEntities.add(entity);
|
|
14236
14239
|
return entity;
|
|
14237
14240
|
}
|