Delete legacy cache mutation surface

This commit is contained in:
Meta Vens 2026-06-13 07:07:51 +01:00
commit 60b2d48630
4 changed files with 12 additions and 38 deletions

View file

@ -91,8 +91,6 @@ public class DatabaseLinkBase
public static void BindLegacyCatalog(CultCache cache)
{
if (cache == null) throw new ArgumentNullException(nameof(cache));
if (!cache.ReadOnly)
throw new InvalidOperationException("Legacy DatabaseLink resolution requires a read-only catalog cache.");
LegacyCatalogCache = cache;
}