mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
fix(Scripts/AQ40): prevent Master's Eye respawn crash in OnCreatureCreate (#25460)
Co-authored-by: Claude Opus 4.6 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
dde37ba4d9
commit
db2e1325d2
@@ -81,7 +81,7 @@ public:
|
||||
creature->Respawn();
|
||||
break;
|
||||
case NPC_MASTERS_EYE:
|
||||
if (GetBossState(DATA_TWIN_EMPERORS) != DONE)
|
||||
if (GetBossState(DATA_TWIN_EMPERORS) != DONE && !creature->IsAlive())
|
||||
creature->Respawn(true);
|
||||
break;
|
||||
case NPC_CTHUN:
|
||||
|
||||
Reference in New Issue
Block a user