/// <summary>Migrate legacy container data, if needed.</summary> /// <param name="location">The location whose chests to migrate.</param> private void MigrateLegacyData(GameLocation location) { foreach (var chest in this.ChestFactory.GetChests(RangeHandler.SpecificLocation(location))) { chest.Container.MigrateLegacyData(); } }