diff --git a/Tomes/TomeArray.cs b/Tomes/TomeArray.cs index 3c36356..151edb3 100644 --- a/Tomes/TomeArray.cs +++ b/Tomes/TomeArray.cs @@ -31,7 +31,7 @@ public TomeArray(JArray data, JToken root) // for (var i = 0; i < data.Count; i += 1) { - Add(Tome.Conjure(data[i], root)); + Add(Tome.Conjure(data[i], this.root)); } // diff --git a/Tomes/TomeObject.cs b/Tomes/TomeObject.cs index 10f1f65..474cb0e 100644 --- a/Tomes/TomeObject.cs +++ b/Tomes/TomeObject.cs @@ -32,7 +32,7 @@ public TomeObject(JObject data, JToken root) // foreach (JProperty property in data.Properties()) { - Add(property.Name, Tome.Conjure(property.Value, root)); + Add(property.Name, Tome.Conjure(property.Value, this.root)); } //