@colyseus/schema 3.0.46 → 3.0.47

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.
@@ -5160,7 +5160,7 @@ class StateView {
5160
5160
  if (tag === DEFAULT_VIEW_TAG) {
5161
5161
  // parent is collection (Map/Array)
5162
5162
  const parent = changeTree.parent;
5163
- if (!Metadata.isValidInstance(parent) && changeTree.isFiltered) {
5163
+ if (parent && !Metadata.isValidInstance(parent) && changeTree.isFiltered) {
5164
5164
  const parentChangeTree = parent[$changes];
5165
5165
  let changes = this.changes.get(parentChangeTree.refId);
5166
5166
  if (changes === undefined) {