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