mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-06 04:23:47 +00:00
fix(Core): fix instance portal not resurrecting when corpse is not spawned (#6106)
This commit is contained in:
@@ -2030,6 +2030,7 @@ public:
|
||||
[[nodiscard]] Corpse* GetCorpse() const;
|
||||
void SpawnCorpseBones(bool triggerSave = true);
|
||||
Corpse* CreateCorpse();
|
||||
void RemoveCorpse();
|
||||
void KillPlayer();
|
||||
static void OfflineResurrect(ObjectGuid const guid, SQLTransaction& trans);
|
||||
bool HasCorpse() const { return _corpseLocation.GetMapId() != MAPID_INVALID; }
|
||||
|
||||
Reference in New Issue
Block a user