Fixed Typo
*Fixed typo on custom hook.
This commit is contained in:
@@ -483,9 +483,9 @@ void ScriptMgr::OnOpenStateChange(bool open)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void ScriptMgr::OnLoadCustomDatabeTable()
|
void ScriptMgr::OnLoadCustomDatabaseTable()
|
||||||
{
|
{
|
||||||
FOREACH_SCRIPT(WorldScript)->OnLoadCustomDatabeTable();
|
FOREACH_SCRIPT(WorldScript)->OnLoadCustomDatabaseTable();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScriptMgr::OnBeforeConfigLoad(bool reload)
|
void ScriptMgr::OnBeforeConfigLoad(bool reload)
|
||||||
|
|||||||
@@ -246,7 +246,7 @@ class WorldScript : public ScriptObject
|
|||||||
virtual void OnAfterConfigLoad(bool /*reload*/) { }
|
virtual void OnAfterConfigLoad(bool /*reload*/) { }
|
||||||
|
|
||||||
// Called when loading custom database tables
|
// Called when loading custom database tables
|
||||||
virtual void OnLoadCustomDatabeTable() { }
|
virtual void OnLoadCustomDatabaseTable() { }
|
||||||
|
|
||||||
// Called before the world configuration is (re)loaded.
|
// Called before the world configuration is (re)loaded.
|
||||||
virtual void OnBeforeConfigLoad(bool /*reload*/) { }
|
virtual void OnBeforeConfigLoad(bool /*reload*/) { }
|
||||||
@@ -1135,7 +1135,7 @@ class ScriptMgr
|
|||||||
|
|
||||||
public: /* WorldScript */
|
public: /* WorldScript */
|
||||||
|
|
||||||
void OnLoadCustomDatabeTable();
|
void OnLoadCustomDatabaseTable();
|
||||||
void OnOpenStateChange(bool open);
|
void OnOpenStateChange(bool open);
|
||||||
void OnBeforeConfigLoad(bool reload);
|
void OnBeforeConfigLoad(bool reload);
|
||||||
void OnAfterConfigLoad(bool reload);
|
void OnAfterConfigLoad(bool reload);
|
||||||
|
|||||||
@@ -1356,7 +1356,7 @@ void World::SetInitialWorldSettings()
|
|||||||
CharacterDatabase.Execute(stmt);
|
CharacterDatabase.Execute(stmt);
|
||||||
|
|
||||||
///- Custom Hook for loading DB items
|
///- Custom Hook for loading DB items
|
||||||
sScriptMgr->OnLoadCustomDatabeTable();
|
sScriptMgr->OnLoadCustomDatabaseTable();
|
||||||
|
|
||||||
///- Load the DBC files
|
///- Load the DBC files
|
||||||
sLog->outString("Initialize data stores...");
|
sLog->outString("Initialize data stores...");
|
||||||
|
|||||||
Reference in New Issue
Block a user