@colyseus/schema 3.0.40 → 3.0.41

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.
@@ -4275,7 +4275,7 @@ class Decoder {
4275
4275
  // Trying to access a reference that haven't been decoded yet.
4276
4276
  //
4277
4277
  if (!nextRef) {
4278
- console.error(`"refId" not found: ${nextRefId}`, { previousRef: this, previousRefId: this.currentRefId });
4278
+ console.error(`"refId" not found: ${nextRefId}`, { previousRef: ref, previousRefId: this.currentRefId });
4279
4279
  console.warn("Please report this to the developers. All refIds =>");
4280
4280
  console.warn(Schema.debugRefIdsDecoder(this));
4281
4281
  this.skipCurrentStructure(bytes, it, totalBytes);