Fixed reference name error.

This commit is contained in:
MapleWheels
2026-03-03 22:44:56 -05:00
parent 83c198bc26
commit a66b9041ec

View File

@@ -96,7 +96,7 @@ public class PluginManagementService : IAssemblyManagementService
.Union(AssemblyLoadContext.Default.Assemblies
.Where(ass =>
!ass.IsDynamic &&
!ass.GetName().FullName.EndsWith("Barotrauma.Core") &&
!ass.GetName().FullName.EndsWith("BarotraumaCore") &&
!ass.GetName().FullName.EndsWith("Barotrauma") &&
!ass.GetName().FullName.EndsWith("DedicatedServer"))
.Select(MetadataReference (ass) => MetadataReference.CreateFromFile(ass.Location)))