mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Tools/Extractors: Use TACTKeys from wowdev TACTKeys repo instead of wow.tools
* wow.tools will kill /api.php?type=tactkeys soon
This commit is contained in:
@@ -153,7 +153,7 @@ CASC::Storage::Storage(HANDLE handle) : _handle(handle)
|
||||
bool CASC::Storage::LoadOnlineTactKeys()
|
||||
{
|
||||
// attempt to download only once, not every storage opening
|
||||
static Optional<std::string> const tactKeys = DownloadFile("wow.tools", 443, "/api.php?type=tactkeys");
|
||||
static Optional<std::string> const tactKeys = DownloadFile("raw.githubusercontent.com", 443, "/wowdev/TACTKeys/master/WoW.txt");
|
||||
|
||||
return tactKeys && CascImportKeysFromString(_handle, tactKeys->c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user