fix(Core/Scripting): Solve issue with client crashes on login (#9971)

This commit is contained in:
Skjalf
2022-01-02 12:36:14 -03:00
committed by GitHub
parent 90c00fc0e0
commit 980f420746

View File

@@ -20083,7 +20083,7 @@ void Unit::BuildValuesUpdate(uint8 updateType, ByteBuffer* data, Player* target)
}
else
{
if (!sScriptMgr->OnBuildValuesUpdate(this, updateType, fieldBuffer, target, index))
if (sScriptMgr->OnBuildValuesUpdate(this, updateType, fieldBuffer, target, index))
{
continue;
}