We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90be9f6 commit e196fcfCopy full SHA for e196fcf
src/serialization/sb3.js
@@ -624,7 +624,7 @@ const makeSafeForJSON = (runtime, value) => {
624
if (Array.isArray(value)) {
625
let copy = null;
626
for (let i = 0; i < value.length; i++) {
627
- if (value[i].customId) {
+ if (value[i]?.customId) {
628
if (!copy) {
629
// Only copy the list when needed
630
copy = value.slice();
0 commit comments