Re-add Lumina pinning

See #1598 for requirements to do this.
This commit is contained in:
Kaz Wolfe 2024-06-29 13:38:13 -07:00
parent a1f91084b4
commit 6568c68e06
No known key found for this signature in database
GPG key ID: 258813F53A16EBB4

View file

@ -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,