Scripts/Commands: Cleanup and trinity_string for .go instance.
Port From (https://github.com/TrinityCore/TrinityCore/commit/af8b4853da9e7464d75623bc06851e3290e23d11)
This commit is contained in:
@@ -5508,6 +5508,7 @@ namespace Game
|
||||
Cypher.Assert(false, $"Spawn data ({data.type},{data.spawnId}) being removed is member of spawn group {data.spawnGroupData.groupId}, but not actually listed in the lookup table for that group!");
|
||||
}
|
||||
|
||||
public Dictionary<uint, InstanceTemplate> GetInstanceTemplates() { return instanceTemplateStorage; }
|
||||
public InstanceTemplate GetInstanceTemplate(uint mapID)
|
||||
{
|
||||
return instanceTemplateStorage.LookupByKey(mapID);
|
||||
|
||||
Reference in New Issue
Block a user