Core/Players: Fix resurrection timer missing if logging in while dead

Port From (https://github.com/TrinityCore/TrinityCore/commit/781fe731dd8b438a9988347f68e09b5216b07652)
This commit is contained in:
Hondacrx
2025-06-04 09:11:11 -04:00
parent d373675d9a
commit a978731a00
+4 -2
View File
@@ -4592,7 +4592,8 @@ namespace Game.Entities
else
m_deathExpireTime = now + PlayerConst.DeathExpireStep;
}
int CalculateCorpseReclaimDelay(bool load = false)
public int CalculateCorpseReclaimDelay(bool load = false)
{
Corpse corpse = GetCorpse();
if (load && corpse == null)
@@ -4629,7 +4630,8 @@ namespace Game.Entities
return (int)(delay * Time.InMilliseconds);
}
void SendCorpseReclaimDelay(int delay)
public void SendCorpseReclaimDelay(int delay)
{
CorpseReclaimDelay packet = new();
packet.Remaining = (uint)delay;