Core/Instance: stop updating the instance resettimes based on creature respawns
Port From (https://github.com/TrinityCore/TrinityCore/commit/7dcc185a151745c8a12e23708bb5d457e5796032)
This commit is contained in:
@@ -1609,7 +1609,7 @@ namespace Game.Entities
|
||||
{
|
||||
// the reset time is set but not added to the scheduler
|
||||
// until the players leave the instance
|
||||
long resettime = creature.GetRespawnTimeEx() + 2 * Time.Hour;
|
||||
long resettime = GameTime.GetGameTime() + 2 * Time.Hour;
|
||||
InstanceSave save = Global.InstanceSaveMgr.GetInstanceSave(creature.GetInstanceId());
|
||||
if (save != null)
|
||||
if (save.GetResetTime() < resettime)
|
||||
|
||||
Reference in New Issue
Block a user