Core/Conditions: Corrected upper array bound requirement for PlayerConditionLogic

Port From (https://github.com/TrinityCore/TrinityCore/commit/38096181ebcc61df3155f6d419974cd96544e4a8)
This commit is contained in:
Hondacrx
2025-06-08 15:10:16 -04:00
parent 57b2c5b550
commit b6408913b3
+1 -1
View File
@@ -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)
{