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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}