public void ApplyAuraJson(JToken json, bool buffs) { if (buffs) { lock (Buffs) { Buffs.Clear(); foreach (var auraJson in json.Children()) { var aura = new WoWAura(); aura.ApplyJson(auraJson); Buffs.Add(aura); } } } else { lock (Debuffs) { Debuffs.Clear(); foreach (var auraJson in json.Children()) { var aura = new WoWAura(); aura.ApplyJson(auraJson); Debuffs.Add(aura); } } } }