From b6408913b3098a216a4a2bf6fe337c2b005d31f5 Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Sun, 8 Jun 2025 15:10:16 -0400 Subject: [PATCH] Core/Conditions: Corrected upper array bound requirement for PlayerConditionLogic Port From (https://github.com/TrinityCore/TrinityCore/commit/38096181ebcc61df3155f6d419974cd96544e4a8) --- Source/Game/Conditions/ConditionManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Conditions/ConditionManager.cs b/Source/Game/Conditions/ConditionManager.cs index 14d5cb71c..dfa161575 100644 --- a/Source/Game/Conditions/ConditionManager.cs +++ b/Source/Game/Conditions/ConditionManager.cs @@ -1768,7 +1768,7 @@ namespace Game static bool PlayerConditionLogic(uint logic, bool[] results) { - Cypher.Assert(results.Length < 16, "Logic array size must be equal to or less than 16"); + Cypher.Assert(results.Length < 8, "Logic array size must be equal to or less than 8"); for (var i = 0; i < results.Length; ++i) {