mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-06 04:23:47 +00:00
Merge branch 'master' into Playerbot
This commit is contained in:
@@ -161,7 +161,7 @@ void ScriptMgr::CheckIfScriptsInDatabaseExist()
|
||||
{
|
||||
for (auto const& scriptName : sObjectMgr->GetScriptNames())
|
||||
{
|
||||
if (uint32 sid = sObjectMgr->GetScriptId(scriptName.c_str()))
|
||||
if (uint32 sid = sObjectMgr->GetScriptId(scriptName))
|
||||
{
|
||||
if (!ScriptRegistry<SpellScriptLoader>::GetScriptById(sid) &&
|
||||
!ScriptRegistry<ServerScript>::GetScriptById(sid) &&
|
||||
|
||||
Reference in New Issue
Block a user