chore(Core/Creature): clean up an unnecessary function (#10904)

This commit is contained in:
Skjalf
2022-03-06 03:12:06 -03:00
committed by GitHub
parent 742a568c12
commit d4b3e8f201
3 changed files with 1 additions and 11 deletions

View File

@@ -3517,12 +3517,3 @@ void Creature::SetRespawnTime(uint32 respawn)
{
m_respawnTime = respawn ? GameTime::GetGameTime().count() + respawn : 0;
}
void Creature::SaveRespawnTimeToDB()
{
if (Map* map = GetMap())
{
time_t respawnTimer = GetRespawnTime();
map->SaveCreatureRespawnTime(GetSpawnId(), respawnTimer);
}
}