From 499b5f8b71234cdb4fb6537c3069efa90a1c24eb Mon Sep 17 00:00:00 2001 From: Chomp Date: Thu, 10 Jul 2025 20:20:29 +0100 Subject: [PATCH] Updated `ModId` to be string to allow compat with client mods --- .../Models/Spt/Mod/AbstractModMetadata.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/AbstractModMetadata.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/AbstractModMetadata.cs index 68eaf119..f0b8f32a 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/AbstractModMetadata.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/AbstractModMetadata.cs @@ -1,6 +1,4 @@ -using SPTarkov.Server.Core.Models.Common; - -namespace SPTarkov.Server.Core.Models.Spt.Mod; +namespace SPTarkov.Server.Core.Models.Spt.Mod; /// /// Represents a collection of metadata used to determine things such as author, version, @@ -12,7 +10,7 @@ public abstract record AbstractModMetadata /// /// A unique ID value for the mod to distinguish it from others /// - public abstract MongoId ModId { get; set; } + public abstract string ModId { get; set; } /// /// Name of this mod