Core/Conditions: Fixed typo in worldstate expression evaluation
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b88faf672ef664e23d0012cbe81612ff00eda3b)
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user