Fixed Typo

*Fixed typo on custom hook.
This commit is contained in:
talamortis
2018-07-18 19:48:44 +01:00
parent a5a130b95a
commit 8b1f2ece8a
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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)
+2 -2
View File
@@ -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);
+1 -1
View File
@@ -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...");