Fixed Typo
*Fixed typo on custom hook.
This commit is contained in:
parent
a5a130b95a
commit
8b1f2ece8a
3 changed files with 5 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -246,7 +246,7 @@ class WorldScript : public ScriptObject
|
|||
virtual void OnAfterConfigLoad(bool /*reload*/) { }
|
||||
|
||||
// Called when loading custom database tables
|
||||
virtual void OnLoadCustomDatabeTable() { }
|
||||
virtual void OnLoadCustomDatabaseTable() { }
|
||||
|
||||
// Called before the world configuration is (re)loaded.
|
||||
virtual void OnBeforeConfigLoad(bool /*reload*/) { }
|
||||
|
|
@ -1135,7 +1135,7 @@ class ScriptMgr
|
|||
|
||||
public: /* WorldScript */
|
||||
|
||||
void OnLoadCustomDatabeTable();
|
||||
void OnLoadCustomDatabaseTable();
|
||||
void OnOpenStateChange(bool open);
|
||||
void OnBeforeConfigLoad(bool reload);
|
||||
void OnAfterConfigLoad(bool reload);
|
||||
|
|
|
|||
|
|
@ -1356,7 +1356,7 @@ void World::SetInitialWorldSettings()
|
|||
CharacterDatabase.Execute(stmt);
|
||||
|
||||
///- Custom Hook for loading DB items
|
||||
sScriptMgr->OnLoadCustomDatabeTable();
|
||||
sScriptMgr->OnLoadCustomDatabaseTable();
|
||||
|
||||
///- Load the DBC files
|
||||
sLog->outString("Initialize data stores...");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue