Core/Conditions: Fixed typo in worldstate expression evaluation

Port From (https://github.com/TrinityCore/TrinityCore/commit/7b88faf672ef664e23d0012cbe81612ff00eda3b)
This commit is contained in:
hondacrx
2024-02-06 17:24:41 -05:00
parent b5a5841c73
commit 27d825ddce
+1 -1
View File
@@ -2423,7 +2423,7 @@ namespace Game
break; break;
} }
if (buffer.GetCurrentStream().Position < buffer.GetSize()) if (buffer.GetCurrentStream().Position >= buffer.GetSize())
break; break;
resultLogic = (WorldStateExpressionLogic)buffer.ReadUInt8(); resultLogic = (WorldStateExpressionLogic)buffer.ReadUInt8();