Core/Map: New Map::ForceRespawn to override objections and force a respawn (equivalent to force = true). Use this to fix various GM commands.

Port From (https://github.com/TrinityCore/TrinityCore/commit/8b7728f82e6e7c326b7945efd719218179e9767a)
This commit is contained in:
hondacrx
2021-05-18 12:45:55 -04:00
parent de0929bc8e
commit 5cc1dd1a61
6 changed files with 31 additions and 10 deletions
@@ -0,0 +1,10 @@
--
DELETE FROM `linked_respawn` WHERE `guid`=137752 AND `linkedguid`=137752 AND `linkType`=0;
UPDATE `trinity_string` SET `content_default`='NPC currently selected by player:
Name: %s
SpawnID: %s.
GUID: %s.
Entry: %u.
Faction: %u.
NPC Flags: %s.
DisplayID: %u (Native: %u).' WHERE `entry`=539;