From 6568c68e0628e278674e616bf5ae40cf0c823b50 Mon Sep 17 00:00:00 2001 From: Kaz Wolfe Date: Sat, 29 Jun 2024 13:38:13 -0700 Subject: [PATCH] Re-add Lumina pinning See #1598 for requirements to do this. --- Dalamud/Plugin/Internal/Types/LocalPlugin.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dalamud/Plugin/Internal/Types/LocalPlugin.cs b/Dalamud/Plugin/Internal/Types/LocalPlugin.cs index 25cdb2ef4..40a512ea2 100644 --- a/Dalamud/Plugin/Internal/Types/LocalPlugin.cs +++ b/Dalamud/Plugin/Internal/Types/LocalPlugin.cs @@ -634,6 +634,9 @@ internal class LocalPlugin : IDisposable config.IsUnloadable = true; config.LoadInMemory = true; config.PreferSharedTypes = false; + + config.SharedAssemblies.Add((typeof(Lumina.GameData).Assembly.GetName(), true)); + config.SharedAssemblies.Add((typeof(Lumina.Excel.ExcelSheetImpl).Assembly.GetName(), true)); // Make sure that plugins do not load their own Dalamud assembly. // We do not pin this recursively; if a plugin loads its own assembly of Dalamud, it is always wrong,