fix(Scripts/OutdoorPvP): Fix Halaa guards not spawning (#21585)
This commit is contained in:
@@ -90,7 +90,7 @@ void UpdateCreatureHalaa(ObjectGuid::LowType spawnId, Map* map, float x, float y
|
|||||||
sObjectMgr->AddCreatureToGrid(spawnId, &data);
|
sObjectMgr->AddCreatureToGrid(spawnId, &data);
|
||||||
|
|
||||||
// Spawn if necessary (loaded grids only)
|
// Spawn if necessary (loaded grids only)
|
||||||
if (!map->Instanceable() && !map->IsGridCreated(x, y))
|
if (!map->Instanceable() && map->IsGridLoaded(x, y))
|
||||||
{
|
{
|
||||||
Creature* creature = new Creature();
|
Creature* creature = new Creature();
|
||||||
if (!creature->LoadCreatureFromDB(spawnId, map, true, true))
|
if (!creature->LoadCreatureFromDB(spawnId, map, true, true))
|
||||||
|
|||||||
Reference in New Issue
Block a user