From b769a87b89c637f276a7bab21c965d909d29b5a3 Mon Sep 17 00:00:00 2001 From: Kaeno Date: Tue, 19 Mar 2024 11:18:34 +0000 Subject: [PATCH] Add comment to explain expected behavior. --- .../Aki.SinglePlayer/Patches/Healing/HealthControllerPatch.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/project/Aki.SinglePlayer/Patches/Healing/HealthControllerPatch.cs b/project/Aki.SinglePlayer/Patches/Healing/HealthControllerPatch.cs index d73942d..537318d 100644 --- a/project/Aki.SinglePlayer/Patches/Healing/HealthControllerPatch.cs +++ b/project/Aki.SinglePlayer/Patches/Healing/HealthControllerPatch.cs @@ -22,6 +22,7 @@ namespace Aki.SinglePlayer.Patches.Healing [PatchPrefix] private static void PatchPrefix(object healthObserver) { + // Accesstools will throw warnings if player doesnt have any Effects while using Treatment at end of raid var property = AccessTools.Property(healthObserver.GetType(), "Effects"); if (property != null) {