From 6abd99260b745ddac74b755968a3ce86a0af904b Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sat, 24 Feb 2024 15:18:30 -0500 Subject: [PATCH] Misc fixes --- Source/Game/Spells/SpellInfo.cs | 1 + Source/Game/World/WorldManager.cs | 4 +--- Source/WorldServer/Server.cs | 4 +++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Source/Game/Spells/SpellInfo.cs b/Source/Game/Spells/SpellInfo.cs index 83beaea4e..3ec9ff3b0 100644 --- a/Source/Game/Spells/SpellInfo.cs +++ b/Source/Game/Spells/SpellInfo.cs @@ -1422,6 +1422,7 @@ namespace Game.Spells break; case 71465: // Divine Surge case 50241: // Evasive Charges + case 81262: // Efflorescence _auraState = AuraStateType.RaidEncounter; break; case 6950: // Faerie Fire diff --git a/Source/Game/World/WorldManager.cs b/Source/Game/World/WorldManager.cs index 8f3f80c0a..8d84a6dbe 100644 --- a/Source/Game/World/WorldManager.cs +++ b/Source/Game/World/WorldManager.cs @@ -2279,7 +2279,7 @@ namespace Game public string GetDBVersion() { return m_DBVersion; } - public string LoadDBVersion() + public void LoadDBVersion() { m_DBVersion = "Unknown world database."; @@ -2290,8 +2290,6 @@ namespace Game // will be overwrite by config values if different and non-0 WorldConfig.SetValue(WorldCfg.ClientCacheVersion, result.Read(1)); } - - return m_DBVersion; } void UpdateAreaDependentAuras() diff --git a/Source/WorldServer/Server.cs b/Source/WorldServer/Server.cs index d4e92a0b4..5d77cf0eb 100644 --- a/Source/WorldServer/Server.cs +++ b/Source/WorldServer/Server.cs @@ -149,7 +149,9 @@ namespace WorldServer // Clean the database before starting ClearOnlineAccounts(); - Log.outInfo(LogFilter.Server, "Using World DB: {0}", Global.WorldMgr.LoadDBVersion()); + Global.WorldMgr.LoadDBVersion(); + + Log.outInfo(LogFilter.Server, $"Using World DB: {Global.WorldMgr.GetDBVersion()}"); return true; }