From f2ff2344566054ee3a281f6f6de8b192e69980dc Mon Sep 17 00:00:00 2001 From: hondacrx Date: Mon, 9 Aug 2021 09:50:32 -0400 Subject: [PATCH] Core/GameObject: Force compatibility mode for stupid ridiculous junk legacy hack gameobjects Port From (https://github.com/TrinityCore/TrinityCore/commit/65b8dafb537dc41f9b46f44fa03c6466915fd119) --- Source/Game/Entities/GameObject/GameObject.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/Game/Entities/GameObject/GameObject.cs b/Source/Game/Entities/GameObject/GameObject.cs index 9a56e66a2..a7b00ac98 100644 --- a/Source/Game/Entities/GameObject/GameObject.cs +++ b/Source/Game/Entities/GameObject/GameObject.cs @@ -1075,6 +1075,12 @@ namespace Game.Entities } else { + if (!m_respawnCompatibilityMode) + { + Log.outWarn(LogFilter.Sql, $"GameObject {entry} (SpawnID {spawnId}) is not spawned by default, but tries to use a non-hack spawn system. This will not work. Defaulting to compatibility mode."); + m_respawnCompatibilityMode = true; + } + m_spawnedByDefault = false; m_respawnDelayTime = (uint)-data.spawntimesecs; m_respawnTime = 0;