From 5d2237092bfe26e49eb4a0046f8a38603ca94d40 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 1 Aug 2024 21:01:25 +0100 Subject: [PATCH] Updated some classes to be public --- project/SPT.Custom/Patches/BotOwnerDisposePatch.cs | 2 +- project/SPT.Custom/Patches/BotSelfEnemyPatch.cs | 2 +- project/SPT.Debugging/Patches/ExfilDumper.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/project/SPT.Custom/Patches/BotOwnerDisposePatch.cs b/project/SPT.Custom/Patches/BotOwnerDisposePatch.cs index 365e5f5..9242e71 100644 --- a/project/SPT.Custom/Patches/BotOwnerDisposePatch.cs +++ b/project/SPT.Custom/Patches/BotOwnerDisposePatch.cs @@ -9,7 +9,7 @@ namespace SPT.Custom.Patches * BotOwner doesn't call SetOff on the CalledData object when a bot is disposed, this can result * in bots that are no longer alive having their `OnEnemyAdd` method called */ - internal class BotOwnerDisposePatch : ModulePatch + public class BotOwnerDisposePatch : ModulePatch { protected override MethodBase GetTargetMethod() { diff --git a/project/SPT.Custom/Patches/BotSelfEnemyPatch.cs b/project/SPT.Custom/Patches/BotSelfEnemyPatch.cs index 1f1b4aa..97a0482 100644 --- a/project/SPT.Custom/Patches/BotSelfEnemyPatch.cs +++ b/project/SPT.Custom/Patches/BotSelfEnemyPatch.cs @@ -8,7 +8,7 @@ namespace SPT.Custom.Patches /// /// Goal: patch removes the current bot from its own enemy list - occurs when adding bots type to its enemy array in difficulty settings /// - internal class BotSelfEnemyPatch : ModulePatch + public class BotSelfEnemyPatch : ModulePatch { protected override MethodBase GetTargetMethod() { diff --git a/project/SPT.Debugging/Patches/ExfilDumper.cs b/project/SPT.Debugging/Patches/ExfilDumper.cs index e28fcda..5d7edb6 100644 --- a/project/SPT.Debugging/Patches/ExfilDumper.cs +++ b/project/SPT.Debugging/Patches/ExfilDumper.cs @@ -12,7 +12,7 @@ using System.Reflection; namespace SPT.Debugging.Patches { - internal class ExfilDumper : ModulePatch + public class ExfilDumper : ModulePatch { public static string DumpFolder = Path.Combine(Environment.CurrentDirectory, "Dumps");