Core/Scripts: dynamic_spawning follow-up, I had forgotten JustRespawned existed.
Port From (https://github.com/TrinityCore/TrinityCore/commit/129dd7c9091d3fafc0f5e10b795224bc9418d006)
This commit is contained in:
@@ -661,7 +661,7 @@ namespace Game.Chat.Commands
|
||||
Map map = player.GetMap();
|
||||
uint mapId = map.GetId();
|
||||
bool showAll = map.IsBattlegroundOrArena() || map.IsDungeon();
|
||||
handler.SendSysMessage("Listing all spawn points in map %u (%s)%s:", mapId, map.GetMapName(), showAll ? "" : " within 5000yd");
|
||||
handler.SendSysMessage($"Listing all spawn points in map {mapId} ({map.GetMapName()}){(showAll ? "" : " within 5000yd")}:");
|
||||
|
||||
foreach (var pair in Global.ObjectMgr.GetAllCreatureData())
|
||||
{
|
||||
|
||||
@@ -222,8 +222,8 @@ namespace Game.Chat
|
||||
}
|
||||
|
||||
|
||||
// Attempting creature load from DB data
|
||||
CreatureData data = Global.ObjectMgr.GetCreatureData(lowguid);
|
||||
// Attempting creature load from DB data
|
||||
CreatureData data = Global.ObjectMgr.GetCreatureData(lowguid);
|
||||
if (data == null)
|
||||
{
|
||||
handler.SendSysMessage(CypherStrings.CommandCreatguidnotfound, lowguid);
|
||||
|
||||
Reference in New Issue
Block a user