fix(Core/Creature): Allow Multi id in areas with zone script (#10735)

This commit is contained in:
Malcrom 2022-02-18 17:11:40 -04:00 committed by GitHub
parent 881760821e
commit da5258bd0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1506,8 +1506,8 @@ bool Creature::CreateFromProto(ObjectGuid::LowType guidlow, uint32 Entry, uint32
SetZoneScript();
if (GetZoneScript() && data)
{
Entry = GetZoneScript()->GetCreatureEntry(guidlow, data);
if (!Entry)
uint32 FirstEntry = GetZoneScript()->GetCreatureEntry(guidlow, data);
if (!FirstEntry)
return false;
}