Core/Misc: Remove function calls through singleton global within the same class
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f6ce648366099aecb966a57049371bfa4b19e56)
This commit is contained in:
@@ -1141,8 +1141,8 @@ namespace Game
|
||||
// load update time related configs
|
||||
_worldUpdateTime.LoadFromConfig();
|
||||
|
||||
Global.WorldMgr.SetPlayerAmountLimit((uint)ConfigMgr.GetDefaultValue("PlayerLimit", 100));
|
||||
Global.WorldMgr.SetMotd(ConfigMgr.GetDefaultValue("Motd", "Welcome to a Cypher Core Server."));
|
||||
SetPlayerAmountLimit((uint)ConfigMgr.GetDefaultValue("PlayerLimit", 100));
|
||||
SetMotd(ConfigMgr.GetDefaultValue("Motd", "Welcome to a Cypher Core Server."));
|
||||
|
||||
if (reload)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user